Last data update: 2014.03.03

R: Returns the spline knots selected by lm.Kpart.
Kpart.knotsR Documentation

Returns the spline knots selected by lm.Kpart.

Description

Displays selected knots by best subsets method after each absolute maximum deviate in partition mean is determined.

Usage

Kpart.knots(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

Use of absolute maximum deviate from partition mean.

Value

Will return the values of the second column(predictor) in which the knots were selected from lm.Kpart.

Note

thank you.

Author(s)

Eric Golinko

References

Tomas Fitzgerald

Examples

# example()

Results