design_formula: Get the GLM formula for a factorially-designed experiment

Description Usage Arguments Value

Description

Get the formula corresponding to the general linear model for a factorially designed experiment, with maximal random effects.

Usage

1
2
design_formula(design_args, n_subj = NULL, dv_name = NULL,
  lme4_format = TRUE)

Arguments

design_args

A list with experimental design information (see link{stim_lists})

n_subj

Number of subjects

dv_name

Name of dependent variable; NULL (default) for one-sided formula

lme4_format

Do you want the results combined as the model formula for a lme4 model? (default TRUE)

Value

A formula, character string, or list, depending


dalejbarr/funfact documentation built on May 14, 2019, 3:31 p.m.