specify: Constructs a list of model specifications from formula...

View source: R/families.R

specifyR Documentation

Constructs a list of model specifications from formula strings.

Description

Main function to create analysis representations. responses, treatments and controls should be vectors of formula strings. Every combination of response and treatment formulas will be a spec object in the list. They will all share the properties in controls and model. trans should be given if its known that a response variable in the database is transformed and a backtransformation is wanted.

Usage

specify(responses, treatments = NULL, controls = character(0), model,
  trans = NULL)

Arguments

responses

Character vector of response formula strings.

treatments

Character vector of treatment formula strings.

controls

Control formula string that will be shared for all models.

model

Distributional assumption.

trans

The pretransformation of response variables.


JacobBergstedt/mmi documentation built on March 8, 2024, 8:25 a.m.