The gss Package - NexTag Supports Open Source Initiatives
The gss Package - NexTag Supports Open Source Initiatives
The gss Package - NexTag Supports Open Source Initiatives
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
18 mkfun.poly<br />
mkfun.poly<br />
Crafting Building Blocks for Polynomial Splines<br />
Description<br />
Usage<br />
Craft numerical functions to be used by mkterm to assemble model terms.<br />
mkrk.cubic(range)<br />
mkphi.cubic(range)<br />
mkrk.cubic.per(range)<br />
mkrk.linear(range)<br />
mkrk.linear.per(range)<br />
Arguments<br />
range<br />
Numerical vector whose minimum and maximum specify the range on which<br />
the function to be crafted is defined.<br />
Details<br />
Value<br />
mkrk.cubic, mkphi.cubic, and mkrk.linear implement the polynomial spline construction<br />
in Gu (2002, Sec. 2.3.3) for m = 2, 1.<br />
mkrk.cubic.per and mkrk.linear.per implement the periodic polynomial spline construction<br />
in Gu (2002, Sec. 4.2.1) for m = 2, 1.<br />
A list of two components.<br />
fun<br />
env<br />
Function definition.<br />
Portable local constants derived from the argument.<br />
Note<br />
mkrk.x create a bivariate function fun(x,y,env,outer=FALSE), where x, y are real arguments<br />
and local constants can be passed in through env.<br />
mkphi.cubic creates a univariate function fun(x,nu,env).<br />
Author(s)<br />
Chong Gu, 〈chong@stat.purdue.edu〉<br />
References<br />
Gu, C. (2002), Smoothing Spline ANOVA Models. New York: Springer-Verlag.