Last data update: 2014.03.03

R: something
lm.KpartR Documentation

something

Description

Offers overall cubic spline model model summary.

Usage

lm.Kpart(data, K)

Arguments

data

Two column matrix, the first column is respone, the second column is predictor in which to base knots.

K

A positive interger that will partition the data K times.

Details

For each kth partition potential knot selected, linear, quadratic, and cubic terms, use of the regsubsets() function from package(leaps) is implemented to determine the model whch has the lowest BIC. Then after identifying which predictors these are, fits an overall model using lm().

Value

A lm() summary.

Note

thank you.

Author(s)

Eric Golinko

References

Tomas Fitzgerald

Examples

# example()

Results