Learn R Programming

cmfilter (version 0.9.1)

update.cmf: Add samples to existing cmf results object

Description

This function adds additional samples to the existing results object

Usage

# S3 method for cmf
update(object, nStarts = 100, ...)

Arguments

object

a cmf object

nStarts

the number of starts to add (default 100)

...

not used

Examples

Run this code
# NOT RUN {
# generate some data
dat <- generateMed(a = (1:10)/20, b = (1:10)/20)
res <- cmf(dat, nStarts = 200)
# double the samples
res <- update(res, 500)

# }

Run the code above in your browser using DataLab