All functions

as_draws() as_draws_list() as_draws_array() as_draws_df() as_draws_matrix() as_draws_rvars()

Convert stanemax object to a posterior draws object

exposure.response.sample

Sample simulated data for exposure-response.

exposure.response.sample.binary

Sample simulated data for exposure-response for binary endpoint

exposure.response.sample.with.cov

Sample simulated data for exposure-response with covariates

extract_param()

Extract posterior draws of key parameters

log_lik()

Calculate log-likelihoods from posterior samples. Data can be either original data used for model fit or new data.

posterior_predict() posterior_epred() posterior_linpred() posterior_predict_quantile()

Outcome prediction from posterior distribution of parameters

rstanemax-package rstanemax

The 'rstanemax' package.

stan_emax()

Bayesian Emax model fit with Stan

stan_emax_binary()

Bayesian Emax model fit with Stan for binary endpoint

print(<stanemax>) print(<stanemaxbin>) extract_stanfit() extract_obs_mod_frame() plot(<stanemax>) plot(<stanemaxbin>)

Methods for stanemax objects