powered by
Generic function
pen.type(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
pen.type<--methods
x=new("cpt") # new cpt object pen.type(x)<-"SIC" # replaces the existing pen.type slot in x with "SIC"
Run the code above in your browser using DataLab