Learn R Programming

BayesERtools (version 0.2.0)

as_draws: Transform to draws objects

Description

See posterior::as_draws() for details.

Usage

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 ermod as_draws(x, ...)

# S3 method for ermod as_draws_list(x, ...)

# S3 method for ermod as_draws_array(x, ...)

# S3 method for ermod as_draws_df(x, ...)

# S3 method for ermod as_draws_matrix(x, ...)

# S3 method for ermod as_draws_rvars(x, ...)

Value

A draws object from the posterior package.

Arguments

x

An object of class ermod

...

Arguments passed to individual methods (if applicable).