Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

param

Generic Function - param


Description

Generic function that returns parameter estimates.

Usage

param(object,...)

Arguments

object

Depending on the class of object depends on the method used to find the parameter estimates (and if one exists)

...

Other variables that may be required depending on the class of object, see individual methods.

Details

Generic Function that returns parameter estimates

Value

Depends on the class of object, see individual methods

Author(s)

Rebecca Killick

See Also

Examples

set.seed(1)
x=c(rnorm(100,0,1),rnorm(100,0,10))
ans=cpt.var(x,penalty="Asymptotic",pen.value=0.01,method="AMOC",param.estimates=FALSE)
# if estimates were not requested in the analysis then they can be created at a later stage if
#required
ans=param(ans) # fills the param.est slot with the parameter estimes.
param.est(ans) # variance is 0.8067621

changepoint

Methods for Changepoint Detection

v2.2.2
GPL
Authors
Rebecca Killick [aut, cre], Kaylea Haynes [aut], Idris Eckley [ths, aut], Paul Fearnhead [ctb, ths], Jamie Lee [ctr]
Initial release
2016-10-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.