A collection of function for the inspection and evaluation of the control polygon reduction.
Usage
# S3 method for class 'cpr_cnr'
plot(x, type = "rse", from = 1, to, ...)
Examples
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)
#>
|
| | 0%
|
|====== | 9%
|
|============= | 18%
|
|=================== | 27%
|
|========================= | 36%
|
|================================ | 45%
|
|====================================== | 55%
|
|============================================= | 64%
|
|=================================================== | 73%
|
|========================================================= | 82%
|
|================================================================ | 91%
|
|======================================================================| 100%
plot(cnr0)