Learn R Programming

changepoint (version 2.2.4)

cpttype<-: Generic Function - cpttype

Description

Generic function

Usage

cpttype(object)<-value

Value

Depends on the class of object, see individual methods

Arguments

object

Depending on the class of object depends on the method used (and if one exists)

value

Replacement value

Author

Rebecca Killick

Details

Generic Function

See Also

cpttype<--methods

Examples

Run this code
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