as_draws | R Documentation |
Convert stanemax object to a posterior draws object
as_draws(x, ...)
as_draws_list(x, ...)
as_draws_array(x, ...)
as_draws_df(x, ...)
as_draws_matrix(x, ...)
as_draws_rvars(x, ...)
## S3 method for class 'stanemax'
as_draws(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemaxbin'
as_draws(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemax'
as_draws_list(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemaxbin'
as_draws_list(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemax'
as_draws_array(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemaxbin'
as_draws_array(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemax'
as_draws_df(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemaxbin'
as_draws_df(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemax'
as_draws_matrix(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemaxbin'
as_draws_matrix(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemax'
as_draws_rvars(x, inc_warmup = FALSE, ...)
## S3 method for class 'stanemaxbin'
as_draws_rvars(x, inc_warmup = FALSE, ...)
x |
An object of class stanemax. |
... |
Arguments passed to individual methods (if applicable).' |
inc_warmup |
Should warmup draws be included? Defaults to |
A draws object of the appropriate subclass
draws
subset_draws
## Not run:
data(exposure.response.sample)
fit <- stan_emax(response ~ exposure, exposure.response.sample)
posterior::as_draws_list(fit)
posterior::as_draws_array(fit)
posterior::as_draws_df(fit)
posterior::as_draws_matrix(fit)
posterior::as_draws_rvars(fit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.