R: Generic Function - pen.type<-

pen.type<- {changepoint} | R Documentation

## Generic Function - pen.type<-

### Description

Generic function

### Usage

    pen.type(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

`pen.type<–methods`

### Examples

    x=new("cpt") # new cpt object
    pen.type(x)<-"SIC" # replaces the existing pen.type slot in x with "SIC"

[Package changepoint version 2.2.2 Index]