Skip to contents

Wrapper function for a bayesian mixed model, analysis and plots can be given an already generated model, or will run it with data and specified dvname, conditions and groups In ... can pass variables to other bayes functions, and pirateye for plotting

Usage

bayes_mm(bmm = list(), outp = "analysis", title = NULL, plotcheck = F, ...)

Arguments

bmm

if not supplied, need model specs in ... if supplied just the analysis will be run

outp

folder name for output, or NULL to stop

title

for output files and plots

plotcheck

plots traces to check

...

parameters for running a new model with bayes_mm_run, eg data, dvname, conditions, groups. Or for plotting with pirateye. Can also model with explore_browser=T