Description Usage Arguments Details Author(s)
Run the Control Polygon Reduction Algorithm.
1 2 3 4 | cpr(x, keep = -1, p = 2, progress = interactive(), ...)
## S3 method for class 'cpr_cpr'
summary(object, ...)
|
x |
a |
keep |
keep (store) the regression fit for models with |
p |
defaults to 2L, the L^p norm used in determining the influence weight of each internal knot. |
progress |
show a progress bar. |
... |
not currently used |
object |
a |
cpr
runs the control polygon reduction algorithm.
keep
will keep the regression fit as part of the cpr\_cp
object
for models with up to and including keep fits. For example, if keep =
10
then the resulting cpr\_cpr
object will have the regression fit
stored in the first keep + 1
(zero internal knots, one internal knot,
..., keep
internal knots) cpr\_cp
objects in the list. The
limit on the number of stored regression fits is to keep memory usage down.
Peter DeWitt dewittpe@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.