ncpts {changepoint}R Documentation

Generic Function - ncpts

Description

Generic function

Usage

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

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

[Package changepoint version 2.2.4 Index]