Learn R Programming

drimmR (version 1.0.3)

bic: Bayesian Information Criterion (BIC)

Description

Generic function computing the Bayesian Information Criterion of the model x, with the list of sequences sequences.

Usage

bic(x, sequences, ncpu = 2)

Value

A list of BIC (numeric)

Arguments

x

An object for which the log-likelihood of the DMM can be computed.

sequences

A list of vectors representing the sequences for which the BIC will be computed based on x.

ncpu

Default=2. Represents the number of cores used to parallelized computation. If ncpu=-1, then it uses all available cores.

Author

Victor Mataigne, Alexandre Seiller

References

BaVe2018drimmR Ver08drimmR