class_input | R Documentation |
This function helps to input all necessary information into the correct format for the cpt.geo
class.
This function is called when class=TRUE
. This is not intended for use by regular users of the package. It is exported for developers to call directly for speed and convenience.
WARNING: No checks on arguments are performed!
class_input(data.set, distance, angle, penalty, pen.value, test.stat,
msl, nquantiles, dist.cpts, ang.cpts)
data.set |
Data set used in multivariate changepoint analysis, see |
distance |
Vector containing the distance mappings |
angle |
Vector containing the angle mappings |
penalty |
Penalty used as a text string, see |
pen.value |
Numerical penalty value used in the univariate analysis of the mapped time series. |
test.stat |
The assumed test statistic/distribution of the univariate mapped time series as a text string. See |
msl |
Minimum segment length used in the analysis (positive integer). |
nquantiles |
Number of quantiles used in empirical distribution if using |
dist.cpts |
Changepoint locations in distance mappings. |
ang.cpts |
Changepoint locations in angle mappings. |
This function takes all the input required for the cpt.geo
class and enters it into an object.
This function is exported for developer use only. It does not perform any checks on inputs and is simply a convenience function for converting the output of the worker functions into a nice format for the cpt.geo
class.
An object of class cpt.geo
filled with the given attributes.
Thomas Grundy
geomcp
,plot-methods
,cpt.geo
#This function should only be used by developers, see its use in geomcp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.