Rdocumentation
powered by
Learn R Programming
Kpart (version 1.1)
Kpart.knots: 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.
Value
Will return the values of the second column(predictor) in which the knots were selected from lm.Kpart.
Details
Use of absolute maximum deviate from partition mean.
References
Tomas Fitzgerald
Examples
Run this code
# example()
Run the code above in your browser using
DataLab