Learn R Programming

Zelig (version 4.1-1)

getResponseTerms.Formula: Get Response Terms from a ``Formula'' Object

Description

This method gets the response terms from a ``Formula'' Object

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