powered by
Combines MCMC object samples by dimensions along along using fun.
along
fun
combine_dimensions(x, fun = mean, along = NULL, ...)# S3 method for mcmcarray combine_dimensions(x, fun = mean, along = NULL, ...)# S3 method for mcmcr combine_dimensions(x, fun = mean, along = NULL, ...)
# S3 method for mcmcarray combine_dimensions(x, fun = mean, along = NULL, ...)
# S3 method for mcmcr combine_dimensions(x, fun = mean, along = NULL, ...)
An MCMC object
The function to use when combining dimensions
A positive integer (or NULL) indicating the parameter dimension(s) to bind along.
Unused
The MCMC object with reduced dimensions.
mcmcarray: Combine an mcmcarray object's samples by dimensions
mcmcarray
mcmcr: Combine an mcmcr object's samples by dimensions
mcmcr
# NOT RUN { combine_dimensions(mcmcr_example$alpha) # }
Run the code above in your browser using DataLab