hyperParams {CNPBayes} | R Documentation

## Accessor for Hyperparameters object for a MixtureModel-derived object

### Description

Accessor for Hyperparameters object for a MixtureModel-derived object

Replace the hyperparameters for a `MixtureModel`-derived object

### Usage

    hyperParams(object)

    hyperParams(object) <- value

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

    ## S4 replacement method for signature 'MixtureModel,Hyperparameters'
    hyperParams(object) <- value

### Arguments

`object` | see `showMethods(hyperParams)`
`value` | an object of class 'Hyperparameters'

### Value

The Hyperparameters of a MixtureModel

### Examples

        hyperParams(SingleBatchModelExample)
    hypp <- Hyperparameters(type="marginal",
                            k=k(SingleBatchModelExample),
                            alpha=c(9, 9, 10))
    hyperParams(SingleBatchModelExample) <- hypp

[Package CNPBayes version 1.13.5 Index]