print.optmatch: Printing 'optmatch' objects.

Description Usage Arguments See Also Examples

View source: R/print.optmatch.R

Description

Printing optmatch objects.

Usage

1
2
## 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

1
2
3
4
5
data(nuclearplants)
fm <- fullmatch(pr ~ t1 + t2, data = nuclearplants)

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

optmatch documentation built on Aug. 17, 2021, 5:10 p.m.