Returns a parameter type from an emc object as a data frame.
# S3 method for emc
parameters(emc, selection = "mu", N = NULL, resample = FALSE, ...)parameters(emc, ...)
A data frame with one row for each sample (with a subjects column if selection = "alpha")
An emc object
String designating parameter type (e.g. mu, sigma2, correlation, alpha)
Integer. How many samples to take from the posterior. If NULL
will return the full posterior
Boolean. If TRUE
will sample N samples from the posterior with replacement
Optional arguments that can be passed to get_pars