plot.cpr_cnr | R Documentation |
A collection of function for the inspection and evaluation of the control polygon reduction.
## S3 method for class 'cpr_cnr'
plot(x, type = "rse", from = 1, to, ...)
x |
a |
type |
type of diagnostic plot.
|
from |
the first index of |
to |
the last index of |
... |
pass through |
a ggplot
initial_cn <- cn(log10(pdg) ~ btensor(list(day, age)
, df = list(10, 8)
, bknots = list(c(-1, 1), c(44, 53))
)
, data = spdg)
cnr0 <- cnr(initial_cn)
plot(cnr0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.