Description Usage Arguments Value Examples
The break-point penalty P in a dpseg
recursion,
should be in the range of expected values of the scoring
function. To find a good initial estimate for P when using the
default scoring fuction (see dpseg
), the data is
smoothed by smooth.spline
and the variance of residuals
reported.
1 |
x |
x-values |
y |
y-values |
plot |
plot the |
... |
parameters for |
Returns a double, variance of residuals of a spline fit
(var(smooth.spline(x,y, ...)$y -y)
)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.