Learn R Programming

CoTiMA (version 0.7.0)

ctmaStanResample: ctmaStanResample

Description

re-sample from a fitted stanct model to achieve desired number of finishsamples (could be useful to prevent exhausted memory)

Usage

ctmaStanResample(ctmaFittedModel = NULL, nsamples = 25, overallSamples = 500)

Value

returns a CoTiMA fit object with an increased number of finish samples

Arguments

ctmaFittedModel

a 'CoTiMA' fit object, usually with few 'finishsamples' to prevent memory exhaustion

nsamples

sample size per run

overallSamples

overall samples size to be achieved