R: Generic Function - distribution<-

distribution<- {changepoint} | R Documentation

## Generic Function - distribution<-

### Description

Generic function

### Usage

    distribution(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

`distribution<–methods`

### Examples

    x=new("cpt") # new cpt object
    distribution(x)<-"normal" # replaces the current distribution slot of x with "normal"

[Package changepoint version 2.2.2 Index]