mkfun.poly | R Documentation |
Craft numerical functions to be used by mkterm
to
assemble model terms.
mkrk.cubic(range)
mkphi.cubic(range)
mkrk.trig(range)
mkphi.trig(range)
mkrk.cubic.per(range)
mkrk.linear(range)
mkrk.linear.per(range)
range |
Numerical vector whose minimum and maximum specify the range on which the function to be crafted is defined. |
mkrk.cubic
, mkphi.cubic
, and mkrk.linear
implement the polynomial spline construction in Gu (2002,
Sec. 2.3.3) for m=2,1
.
mkrk.cubic.per
and mkrk.linear.per
implement the
periodic polynomial spline construction in Gu (2002, Sec. 4.2.1) for
m=2,1
.
A list of two elements.
fun |
Function definition. |
env |
Portable local constants derived from the argument. |
mkrk.x
create a bivariate function
fun(x,y,env,outer=FALSE)
, where x
, y
are real
arguments and local constants can be passed in through env
.
mkphi.cubic
creates a univariate function
fun(x,nu,env)
.
Gu, C. (2013), Smoothing Spline ANOVA Models (2nd Ed). New York: Springer-Verlag.
mkterm
, mkfun.tp
, and
mkrk.nominal
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.