Description Usage Arguments Value Examples
View source: R/old_stanparts.R
Extract preditive samples and bring them in a format that can be used for scoring. Function needs to be updated to deal with more than one predictive parameter?
1 | extract_samples(stanfitobject, type = "predictive")
|
stanfitobject |
a stanfitobject |
predictive |
TRUE indicates that you want to extract predictive values, FALSE returns fitted values |
a matrix of dimension nxN with predictive samples. n is the number of predicted values, N is the number of MCMC samples for each value to be predicted.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.