Learn R Programming

pwr4exp (version 1.0.1)

nobars: Omit terms separated by vertical bars in a formula

Description

Remove the random-effects terms from a mixed-effects formula, thereby producing the fixed-effects formula.

Usage

nobars(term)

Value

the fixed-effects part of the formula

Arguments

term

the right-hand side of a mixed-model formula