pull_xy | R Documentation |
This function pulls 'x' and 'y' coordinates from some R objects. This is implemented within pretty_axis
and pretty_plot
to create axes for multiple object types. Suggested x and y axis labels are also returned: these are NULL if automatically defined labels are deemed appropriate or character strings which can be used to replace automatically defined labels.
pull_xy(x, y = NULL)
x |
x coordinates or an object from which x and y coordinates can be extracted. |
y |
y coordinates. |
A list with 'x' and 'y' coordinates, extracted from the object x
or as inputted, as well as 'xlab' and 'ylab' labels, if manual labels are desirable.
Edward Lavender
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.