powered by
Generic function
data.set(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
data.set<--methods
# NOT RUN { x=new("cpt") # new cpt object data.set(x)<-c(1,2,3,4,5) # replaces the existing data.set slot in x with c(1,2,3,4,5) # }
Run the code above in your browser using DataLab