Simple drawing of restricted cubic spline (RCS) curves through 'ggplot2' package from a linear regression model, a logistic regression model or a Cox proportional hazards regression model. This method was described by Harrell FE (2015) <doi:10.1007/978-3-319-19425-7>.