parameters.emc {EMC2} | R Documentation |
Returns a parameter type from an emc object as a data frame.
Description
Returns a parameter type from an emc object as a data frame.
Usage
## S3 method for class 'emc'
parameters(emc, selection = "mu", N = NULL, resample = FALSE, ...)
parameters(emc, ...)
Arguments
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 |
Value
A data frame with one row for each sample (with a subjects column if selection = "alpha")
[Package EMC2 version 2.0.2 Index]