grouped: Print and Plot Methods for 'grouped' Objects

groupedR Documentation

Print and Plot Methods for 'grouped' Objects

Description

S3 methods for objects of class 'grouped' returned by the 'meaning()' function.

  • 'print.grouped' provides a concise summary view of the results.

  • 'plot.grouped' creates a faceted bar chart to visualize the composition of each subgroup.

Usage

## S3 method for class 'grouped'
print(x, ...)

## S3 method for class 'grouped'
plot(x, ...)

Arguments

x

An object of class 'grouped'.

...

Additional arguments (currently unused).

Value

The 'print' method is called for its side-effect of printing a summary table to the console.

The 'plot' method is called for its side-effect of generating a faceted bar chart in the current graphics device.

Both methods invisibly return the original object 'x'.

Author(s)

Ahmed Abdelmageed ahmedelsaeedmassad@gmail.com

See Also

meaning


metagroup documentation built on Sept. 10, 2025, 10:26 a.m.