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