extract_post_draws {lddmm} | R Documentation |
Parameter posterior draws
Description
Function to extract the posterior draws of the parameters of interest from a lddmm fit object.
Usage
extract_post_draws(data, fit, par = c("drift", "boundary"))
Arguments
data |
dataframe with the following columns:
|
fit |
fit from the lddmm function |
par |
parameter to output ('drift', or 'boundary') |
Value
Matrix with the following columns:
subject: participant labels
block: training blocks
draw: iteration of the MCMC estimates
par_s_d, ...: posterior draws for the requested parameters