Last data update: 2014.03.03

R: A Kpart plot
Kpart.plotR Documentation

A Kpart plot

Description

Displays plot of fitted values of lm.Kpart.

Usage

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

Plot of fitted values, as well as vertical lines representing the values of knots selected.

Value

Plot.

Note

thank you.

Author(s)

Eric Golinko

References

Tomas Fitzgerald

Examples

# example()

Results