cpt.geo-class | R Documentation |
"cpt.geo"
A class for cpt.geo objects.
Objects can be created by calls of the form new("cpt.geo", ...)
.
new('cpt.geo',...)
:Creates a new object with class cpt.geo
data.set
:Object of class "matrix"
, original data set to be analyzed for changepoints
distance
:Object of class "numeric"
, distance mapping of each time vector.
angle
:Object of class "numeric"
, angle mapping of each time vector.
penalty
:Object of class "character"
, type of penalty used as a text string.
pen.value
:Object of class "numeric"
, numeric value of penalty used.
test.stat
:Object of class "character"
, test statistic used for the analysis.
msl
:Object of class "numeric"
, minimum segment length (no. of observations between changepoints).
nquantiles
:Object of class "numeric"
, number of quantiles used in the empirical distribution.
dist.cpts
:Object of class "numeric"
, changepoint locations in the distances.
ang.cpts
:Object of class "numeric"
, changepoint locations in the angles.
date
:Object of class "character"
, date the analysis was run.
version
:Object of class "character"
, version number of the package when analysis was run.
signature(object = "cpt.geo")
: retrieves ang.cpts slot.
signature(object = "cpt.geo")
: replaces ang.cpts slot.
signature(object = "cpt.geo")
: retrieves angle slot.
signature(object = "cpt.geo")
: replaces angle slot.
signature(object = "cpt.geo")
: retrieves data.set slot.
signature(object = "cpt.geo")
: replaces data.set slot.
signature(object = "cpt.geo")
: retrieves dist.cpts slot.
signature(object = "cpt.geo")
: replaces dist.cpts slot.
signature(object = "cpt.geo")
: retrieves distance slot.
signature(object = "cpt.geo")
: replaces distance slot.
signature(object = "cpt.geo")
: retrieves msl slot.
signature(object = "cpt.geo")
: replaces msl slot.
signature(object = "cpt.geo")
: retrieves nquantiles slot.
signature(object = "cpt.geo")
: replaces nquantiles slot.
signature(object = "cpt.geo")
: retrieves pen.value slot.
signature(object = "cpt.geo")
: replaces pen.value slot.
signature(object = "cpt.geo")
: retrieves penalty slot.
signature(object = "cpt.geo")
: replaces penalty slot.
signature(object = "cpt.geo")
: returns an object from ggplot of the distance and angle mappings.
signature(object = "cpt.geo")
: prints details of the cpt.geo object including a summary.
signature(object = "cpt.geo")
: prints a summary of the cpt.geo object.
signature(object = "cpt.geo")
: retrieves test.stat slot.
signature(object = "cpt.geo")
: replaces test.stat slot.
Thomas Grundy
geomcp
,plot-methods
,ggplot
showClass("cpt.geo") #shows the structure of the cpt.geo class.
x=new('cpt.geo') #creates a new object with the cpt.geo class defaults
dist.cpts(x) #retrieves the dist.cpts slot from x
dist.cpts(x) <- c(50,100) #replaces the dist.cpts slot from x with c(50,100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.