Learn R Programming

Kpart (version 1.1)

Kpart.example: An example of Kpart.

Description

Shows example usage for the Kpart method.

Usage

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

Produces a plot.

Details

Example usage of Kpart package.

References

Tomas Fitzgerald

Examples

Run this code
# example()

Run the code above in your browser using DataLab