powered by
ncpts(object)
object
ncpts-methods
x=new("cpt") # new cpt object ncpts(x) # returns the number of changepoints (i.e. length of the cpts slot in x minus 1)
Run the code above in your browser using DataLab