k-method: Number of components.

Description Usage Arguments Value Examples

Description

This function retrieves the number of a priori components.

Updates the number of components and erases chains from a previous posteriorSimulation (if one was performed). Draws from prior to guess new starting values.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
k(object)

k(object) <- value

## S4 replacement method for signature 'Hyperparameters'
k(object) <- value

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

## S4 replacement method for signature 'MixtureModel'
k(object) <- value

Arguments

object

see showMethods(k)

value

An integer for the new number of components.

Value

The number of components

Examples

1

CNPBayes documentation built on Nov. 1, 2018, 4:47 a.m.