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

Fig. 3

From: A review of spline function procedures in R

Fig. 3

B-spline basis using bs command in library splines. Top left: Spline basis of first degree with three degrees of freedom. Top right: Spline basis of first degree with four degrees of freedom. Bottom left: Cubic spline basis with three degrees of freedom. Bottom right: Cubic spline basis with four degrees of freedom. Graphs created using Code #2

Back to article page