print.optmatch: Printing 'optmatch' objects.

View source: R/print.optmatch.R

print.optmatchR Documentation

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.

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

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

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

markmfredrickson/optmatch documentation built on Dec. 7, 2024, 7:08 a.m.