Description Usage Arguments Value Author(s) See Also Examples

The conditioning expression associated with `formula(object)`

(i.e. the expression after the `|`

operator) is returned either as
a named list of one-sided formulas, or a single one-sided formula,
depending on the value of `asList`

. The components of the
returned list are ordered from outermost to innermost level and are
named after the grouping factor expression.

1 | ```
getGroupsFormula(object, asList, sep)
``` |

`object` |
any object from which a formula can be extracted. |

`asList` |
an optional logical value. If |

`sep` |
character, the separator to use between group levels when
multiple levels are collapsed. The default is |

a one-sided formula, or a list of one-sided formulas, with the
grouping structure associated with `formula(object)`

. If no
conditioning expression is present in `formula(object)`

a
`NULL`

value is returned.

José Pinheiro and Douglas Bates [email protected]

`getGroupsFormula.gls`

,
`getGroupsFormula.lmList`

,
`getGroupsFormula.lme`

,
`getGroupsFormula.reStruct`

,
`getGroups`

1 | ```
getGroupsFormula(y ~ x | g1/g2)
``` |

```
~g1/g2
<environment: 0x282d958>
```

nlme documentation built on April 7, 2018, 5:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.