powered by
Generic function
cpttype(object)<-value
Depending on the class of object depends on the method used (and if one exists)
object
Replacement value
Depends on the class of object, see individual methods
Generic Function
cpttype<--methods
# NOT RUN { x=new("cpt") # new cpt object cpttype(x)<-"mean" # replaces the existing cpttype in object x with "mean" # }
Run the code above in your browser using DataLab