ctmaStanResample function

ctmaStanResample

ctmaStanResample

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

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

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

Returns

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