eq_linear: build a formula for fixed effect model corresponding to lists...

Description Usage Arguments Value

Description

eq_linear build a formula for simple model

Usage

1
eq_linear(dv, fev, rev = NULL, morevars = NULL, addcons = TRUE)

Arguments

dv

string containing the dependent variable name

fev

vector of strings containing variable names for fixed effects

rev

list of strings containing variable names for random effects. Each list entry sould be a string vector containing variables combined using the standard operators +,:,* and ^

morevars

list of variables to include in model

addcons

logical, if TRUE add a constant term to the fixed effects. Overrides 0 and -1 in fev

Value

string


CraigMohn/REFormulate documentation built on May 30, 2019, 7:16 a.m.