method-: Generic Function - method<-

method<-R Documentation

Generic Function - method<-

Description

Generic function

Usage

method(object)<-value

Arguments

object

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

value

Replacement value

Details

Generic Function

Value

Depends on the class of object, see individual methods

Author(s)

Rebecca Killick

See Also

method<–methods

Examples

x=new("cpt") # new cpt object
method(x)<-"mean" # replaces the existing method slot in x with "mean"

changepoint documentation built on Nov. 4, 2022, 1:07 a.m.