parseGroupFormula: Extract components from a formula with "conditioning bar"

Description Usage Arguments Value Note Author(s) Examples

View source: R/BY-funBy.R

Description

Extract components from a formula with the form y~x1+...xn|g1+...gm

Usage

1

Arguments

form

A formula of the form y~x1+...xn|g1+...gm

Value

If the formula is y~x1+x2|g1+g2 the result is

model

y~x1+x2

groups

g1+g2

groupFormula

~g1+g2

Note

This function is a recent addition and has not been thoroughly tested. Please report bugs.

Author(s)

S<f8>ren H<f8>jsgaard, [email protected]

Examples

1
gf<-parseGroupFormula(y~x1+x2|g1+g2)

doBy documentation built on May 29, 2017, 11:49 a.m.