dfr-method: Accessor for degrees of freedom

Description Usage Arguments Examples

Description

Accessor for degrees of freedom

Accessor for degrees of freedom

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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

1
2
3
4
  hp <- Hyperparameters()
  dfr(hp)
  dfr(hp) <- 10
  dfr(hp)

CNPBayes documentation built on May 6, 2019, 4:06 a.m.