Description Objects from the Class Slots Methods Author(s) References See Also Examples
Contains the matrix representation for spline basis functions. The OrthongonalSplineBasis class has the basis functions orthogonalized.
Objects can be created by calls of the form SplineBasis(knots, order)
or to generate orthogonal spline basis functions directly OrthogonalSplineBasis(knots, order)
or the short version OBasis(knots,order)
.
transformation
:Object of class "matrix"
Only applicable on OrthogonalSplineBasis Class, shows the transformation matrix use to get from regular basis functions to orthogonal basis functions.
knots
:Object of class "numeric"
order
:Object of class "integer"
Matrices
:Object of class "array"
signature(expr = "SplineBasis")
: Computes the derivative of the basis functions. Returns an object of class SplineBasis.
signature(x = "SplineBasis")
: gives the dim as the order and number of basis functions. Returns numeric of length 2.
signature(object = "SplineBasis", x = "numeric")
: Evaluates the basis functions and the points provided in x. Returns a matrix with length(x)
rows and dim(object)[2]
columns.
signature(object = "SplineBasis")
: computes the integral of the basis functions defined by \int\limits_{k_0}^x b(t)dt where k_0 is the first knot. Returns an object of class SplineBasis.
signature(object = "SplineBasis")
: Takes in a SplinesBasis object, computes the orthogonalization transformation and returns an object of class OrthogonalSplineBasis.
signature(x = "SplineBasis", y = "missing")
: Takes an object of class SplineBasis and plots the basis functions for the domain defined by the knots in object.
signature(x = "SplineBasis", y = "vector")
: Interprets y as a vector of coefficients and plots the resulting curve.
signature(x = "SplineBasis", y = "matrix")
: Interprets y as a matrix of coefficients and plots the resulting curves.
Andrew Redd <aredd at stat.tamu.edu>
General matrix representations for Bsplines Kaihuai Qin, The Visual Computer 2000 16:177–186
1 2 3 4 5 6 7 |
Attaching package: 'orthogonalsplinebasis'
The following object is masked from 'package:stats':
integrate
Class "SplineBasis" [package "orthogonalsplinebasis"]
Slots:
Name: knots order Matrices
Class: numeric integer array
Known Subclasses: "OrthogonalSplineBasis"
Spline Basis
Order: 4
Degree: 3
Knots: 0 0 0 0 1 2 3 4 5 5 5 5
Orthogonalized Spline Basis
Order: 4
Degree: 3
Knots: 0 0 0 0 1 2 3 4 5 5 5 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.