powered by
Generic function
distribution(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
distribution<--methods
x=new("cpt") # new cpt object distribution(x)<-"normal" # replaces the current distribution slot of x with "normal"
Run the code above in your browser using DataLab