powered by
Generic function
data.set(object)<-value
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)
Replacement value
Rebecca Killick
Generic Function
data.set<--methods
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