Learn R Programming

changepoint (version 1.1.5)

cpts.ts: Generic Function - cpts.ts

Description

Generic function

Usage

cpts.ts(object)

Arguments

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

Value

  • Depends on the class of object, see individual methods

Details

Generic function.

See Also

cpts.ts-methods

Examples

Run this code
x=new("cpt") # new cpt object
cpts.ts(x) # retrieves the cpts slot from x but unlike cpts, displays the "date" index rather than
#the position within the vector

Run the code above in your browser using DataLab