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
13
14
15
16
17
18
19
20
21
k(object)

k(object) <- value

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

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

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

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

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

## S4 replacement method for signature 'TrioBatchModel'
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 May 6, 2019, 4:06 a.m.