Create a Power Basis Object
DESCRIPTION:
The basis system is a set of powers of argument x. That is, a basis
function would be x^exponent, where exponent is the value of one of the
exponents. The power basis would normally only be used for positive
values of x.
USAGE:
create.power.basis(rangeval=c(0, 1), nbasis=1, exponent=1)
REQUIRED ARGUMENTS:
OPTIONAL ARGUMENTS:
- rangeval
-
A vector of length 2 with the first element being the lower limit of the
range of argument values, and the second the upper limit. Of course the
lower limit must be less than the upper limit.
- nbasis
-
The number of basis functions; that is, the number of powers of x.
- exponent
-
A vector of length nbasis containing the powers.
VALUE:
A basis object used to define power function bases.
SIDE EFFECTS:
DETAILS:
REFERENCES:
EXAMPLES:
basis <- create.power.function(c(0,1), 3, 1:3)