basis.gen: Generate basis

Description Usage Arguments Value

View source: R/basis.gen.R

Description

Generate basis

Usage

1
basis.gen(x, df = 6, thresh = 0.01, degree = 8, parms = NULL, ...)

Arguments

x

A vector of values for basis.gen, or a matrix for pseudo.bases

df

The degrees of freedom of the smoothing spline.

thresh

If the next eigenvector improves the approximation by less than threshold, a truncated bases is returned. For pseudo.bases this can be a single value or a vector of values, which are recycled sequentially for each column of x

degree

The nominal number of basis elements. The basis returned has no more than degree columns. For pseudo.bases this can be a single value or a vector of values, which are recycled sequentially for each column of x

parms

A parameter set. If included in the call, these are used to define the basis. This is used for prediction.

...

other arguments

Value

the basis


gamsel documentation built on Feb. 4, 2022, 5:09 p.m.