Skip to contents

Given a brms model, plot a trace plot of MCMC draws.

Usage

model <!-- %&gt;% traceplot(predictors_col_name = &lt;predictors_col_name&gt;, -->
                    half_max_label = <label_for_the_half_maximal_effect>,
                    title = <plot_title_label>)

Arguments

model

brmsfit model.

predictors_col_name

string expression for predictors column in the input data.frame (default = "predictors). Predictors are the perturbations tested during the experiment (i.e. Drug, Temperature, etc.).

half_max_label

string of the label for the half maximal that fits the type of experiment that was done (i.e. ec50, ic50, ed50, id50, ld50, etc.).

title

string of the plot title (default = NULL)

Value

ggplot2::ggplot object.

Examples