Learn R Programming

freeknotsplines (version 1.0.1)

Algorithms for Implementing Free-Knot Splines

Description

Algorithms for fitting free-knot splines for data with one independent variable and one dependent variable. Four free-knot spline algorithms are provided for the case where the number of knots is known in advance. A knot-search algorithm is provided for the case where the number of knots is not known in advance. In addition, methods are available to compute the fitted values, the residuals, and the coefficients of the splines, and to plot the results, along with a method to summarize the results.

Copy Link

Version

Install

install.packages('freeknotsplines')

Monthly Downloads

25

Version

1.0.1

License

GPL (>= 2)

Maintainer

Last Published

June 10th, 2018

Functions in freeknotsplines (1.0.1)

fitted.freekt

Compute Fitted Values For Free-Knot Spline
residuals.freekt

Compute Residuals For Free-Knot Spline
freeknotspline-package

Free-Knot Splines
fitcriteria

Fit Criteria for Free-Knot Splines
coef.freekt

Compute Coefficients of B-Splines For Free-Knot Splines
chgbasismat

Compute Change-of-Basis Matrix to Convert Truncated Power Basis to B-Spline Basis
freeknotfit

Fit Free-Knot Splines To Data
fit.search.numknots

Perform a Search on the Number of Knots and Fit Free-Knot Splines To Data Using the Optimal Number of Knots
summary.freekt

Summarize Free-Knot Spline Fit
plot.freekt

Plot Fitted Values for Free-Knot Spline