powered by
Generic function
seg.len(object)
Depends on the class of object, see individual methods
object
Depending on the class of object depends on the method used (and if one exists)
Rebecca Killick
Generic Function
seg.len-methods
x=new("cpt") # new cpt object seg.len(x) # returns the length of each segment in the data (i.e. no. of obs between changepoints)
Run the code above in your browser using DataLab