reportGraph | R Documentation |
Creates a report of any R object in a graph.
reportGraph(x, family = "Auto", size = 60 * par("csi"))
x |
any R object. |
family |
the font family to use in the report. See Details. |
size |
the size of the text, in points |
The value for family
can be any valid font family for the
device. In general "serif," "sans," "mono," and "USGS" are valid. The default,
"Auto" selects "USGS" for character vectors, and "mono" for any other object.
In contrast to other high-level graphics functions in the smwrGraphs
package, this function returns nothing because nothing is expected to be added to
the graph and nothing contributed to a possible explanation.
The report is always placed in the upper left hand corner of the graph and is left justified. If the report is longer than the height of the graph or wider than the width of the graph, then the report is truncated.
## Not run: setGD() reportGraph("Hello world!") # For more details of reportGraph see vignette(topic="GraphGallery", package="smwrGraphs") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.