print.badp_drawable_grob: Print a Drawable Best-Models Grob

View source: R/best_models.R

print.badp_drawable_grobR Documentation

Print a Drawable Best-Models Grob

Description

Print method for the captured gTree objects stored in positions 7-9 of the list returned by best_models. Renders the grob to the active graphics device via grid.draw so that typing e.g. best[[9]] at the console displays the picture instead of a description string.

Usage

## S3 method for class 'badp_drawable_grob'
print(x, newpage = TRUE, ...)

Arguments

x

A badp_drawable_grob object (a gTree captured by grid.grabExpr).

newpage

Logical; if TRUE (default) a new graphics page is started before drawing.

...

Additional arguments (currently unused).

Value

Invisibly returns the input object x.

See Also

best_models, grid.draw


badp documentation built on Aug. 20, 2026, 9:08 a.m.