Learn R Programming

optmatch (version 0.9-0)

print.optmatch: Printing optmatch objects.

Description

Printing optmatch objects.

Usage

## S3 method for class 'optmatch':
print(x, quote = FALSE,
    grouped = FALSE, ...)

Arguments

x
The optmatch object, as returned by fullmatch or pairmatch.
grouped
A logical indicating if the object should printed in the style of a named factor object (grouped = TRUE) or as a table of group names and members.
quote
A boolean indicating if the matched group names should be quoted or not (default is not to quote).
...
Arguments passed to print.default.

See Also

fullmatch, pairmatch, print, summary.optmatch

Examples

Run this code
data(nuclearplants)
fm <- fullmatch(pr ~ t1 + t2, data = nuclearplants)

print(fm)
print(fm, grouped = TRUE)

Run the code above in your browser using DataLab