massage_data: Massages 'formula', 'priors', and 'data' for 'straussR'.

Description Usage Arguments Value

View source: R/prior_massage.R

Description

Converts the information contained in formula, priors, and data for straussR to a form useable by straussR. Checks for compatibility between priors and formulas and does some error checking.

Usage

1

Arguments

formula

A formula of the form given to straussR.

priors

A list of priors. Should match the parameters of formula.

data

An optional data frame.

Value

A list containing all the data needed for straussR-


JonasMoss/straussR documentation built on May 17, 2019, 7:02 p.m.