https://github.com/cran/gss
Raw File
Tip revision: 9f0152d0fb61ff50420926206dd516f6589e7a23 authored by Chong Gu on 08 August 1977, 00:00:00 UTC
version 0.8-3
Tip revision: 9f0152d
mkfun.poly.Rd
\name{mkfun.poly}
\alias{mkfun.poly}
\alias{mkrk.linear}
\alias{mkrk.cubic}
\alias{mkphi.cubic}
\title{
    Crafting Building Blocks for Polynomial Splines
}
\description{
    Craft numerical functions to be used by \code{\link{mkterm.linear}},
    \code{\link{mkterm.cubic}} to assemble model terms.
}
\usage{
mkrk.linear(range)
mkrk.cubic(range)
mkphi.cubic(range)
}
\arguments{
    \item{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.
    \item{fun}{Function definition.}
    \item{env}{Portable local constants derived from the argument.}
}
\note{
    \code{mkrk.x} create a bivariate function
    \code{fun(x,y,env,outer=FALSE)}, where \code{x}, \code{y} are real
    arguments and local constants can be passed in through \code{env}.

    \code{mkphi.cubic} creates a univariate function
    \code{fun(x,nu=1,env)}.
}
\seealso{
    \code{\link{mkfun.tp}}, \code{\link{mkrk.factor}}.
}
\details{
    These are not to be called by the user.
}  
\keyword{internal}
back to top