Learn R Programming

Zelig (version 4.2-1)

getResponseTerms.formula: Get Response Terms from a Standard Formula

Description

This method gets the response terms from a standard formula

Usage

## S3 method for class 'formula':
getResponseTerms(x, ...,
    single.only=FALSE, duplicates=TRUE)

Arguments

x
a formula
...
ignored parameters
single.only
a logical specifying whether 'cbind' or 'list' keywords are allowed
duplicates
a logical specifying whether the returned character-vector will only return duplicates.

Value

  • a character-vector specifying the response terms of the formula