Sample from a new chain or chains, using a previous map2stan
fit object.
resample( object , iter=1e4 , warmup=1000 , chains=1 , ... )
Object of class map2stan
Number of sampling iterations, including warmup
Number of adaptation steps
Number of independent chains
Other parameters to pass to stan
An object of class map2stan
, holding the new samples, as well as all of the original formulas and data for the model.
This function is a convenience for drawing more samples from an initial map2stan
fit.
McElreath 2011, Statistical Rethinking.