mkfun.poly {gss}R Documentation

Crafting Building Blocks for Polynomial Splines

Description

Craft numerical functions to be used by mkterm.linear, mkterm.cubic to assemble model terms.

Usage

mkrk.linear(range)
mkrk.cubic(range)
mkphi.cubic(range)

Arguments

range Numerical vector whose minimum and maximum specify the range on which the function to be crafted is defined.

Value

A list of two components.

fun Function definition.
env Portable local constants derived from the argument.

Note

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=1,env).

See Also

mkfun.tp, mkrk.factor.