Skip to contents

Draws a card as a picture on the current graphics device, such as the Plots pane, as large as the device allows: a grob of class rghcard_card, whose picture makeContent.rghcard_card() makes to the size of the device. A PNG card is read through the png package.

Usage

card_plot(source)

Arguments

source

The card, as card_source() returns it.

Value

NULL, invisibly.

Examples

rghcard:::card_plot(rghcard:::card_source(stats_card(example_stats(), file = NULL)))