Learn R Programming

optmatch (version 0.10.8)

print.optmatch: Printing optmatch objects.

Description

Printing optmatch objects.

Usage

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

Arguments

x

The optmatch object, as returned by fullmatch or pairmatch.

quote

A boolean indicating if the matched group names should be quoted or not (default is not to quote).

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.

...

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