dfr {CNPBayes} | R Documentation

## Accessor for degrees of freedom

### Description

Accessor for degrees of freedom

Accessor for degrees of freedom

### Usage

    dfr(object)

    dfr(object) <- value

    ## S4 method for signature 'Hyperparameters'
    dfr(object)

    ## S4 replacement method for signature 'Hyperparameters,numeric'
    dfr(object) <- value

    ## S4 method for signature 'MixtureModel'
    dfr(object)

    ## S4 replacement method for signature 'MixtureModel,numeric'
    dfr(object) <- value

### Arguments

`object` | a Hyperparameters- or MixtureModel-derived class
`value` | scalar providing degrees of freedom for t-distribution

### Examples

      hp <- Hyperparameters()
      dfr(hp)
      dfr(hp) <- 10
      dfr(hp)

[Package CNPBayes version 1.12.0 Index]