Skip to main content
Fig. 4 | BMC Medical Research Methodology

Fig. 4

From: A review of spline function procedures in R

Fig. 4

Natural cubic spline basis using command ns in library splines. Top left: Spline basis with two degrees of freedom. Top right: Spline basis with three degrees of freedom. Bottom left: Spline basis with four degrees of freedom. Bottom right: Spline basis with five degrees of freedom. Created with Code#3

Back to article page