ncpts: Generic Function - ncpts

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Generic function

Usage

1
ncpts(object)

Arguments

object

Depending on the class of object depends on the method used (and if one exists)

Details

Generic Function

Value

Depends on the class of object, see individual methods

Author(s)

Rebecca Killick

See Also

ncpts-methods

Examples

1
2
x=new("cpt") # new cpt object
ncpts(x) # returns the number of changepoints (i.e. length of the cpts slot in x minus 1)

rkillick/changepoint documentation built on Nov. 9, 2018, 7:42 p.m.