coord_facets | R Documentation |
Generates the coordinates for a facet chart.
coord_facets( data, cd_method = "aggregate", facet_order = NULL, subradius = 0, tick = 0, rotate_tick_label = 0, rotate_radians = 0, rotate_degrees = 0, dist_test_label = 2/3, rotate_test_label_radians = 0, rotate_test_label_degrees = 0 )
data |
SEM estimates in the appropriate format, given by the input functions. |
cd_method |
character; method to summarize center distances, either "mean" or "aggregate", see details; defaults to "aggregate". |
facet_order |
character; vector of facet names in desired order (counter-clockwise); defaults to NULL, in which case the order is based on the correlation matrix columns in 'data'. |
subradius |
integer; same unit as center distances; radius of the facet circles; defaults to 0, in which case an appropriate value is estimated. |
tick |
numeric; axis tick position; defaults to 0, in which case an appropriate value is estimated. |
rotate_tick_label |
numeric; number of positions to move the tick label (counter-clockwise); defaults to 0. |
rotate_radians |
integer; radian angle to rotate the chart counter-clockwise by; use fractions of pi (e.g. pi/2 = 90 degrees). |
rotate_degrees |
integer; angle in degrees to rotate the chart counter-clockwise by. |
dist_test_label |
integer; position of the test label relative to the surrounding circle; defaults to 2/3, in which case the test label is displayed 2/3 of the way from the center to the surrounding circle. |
rotate_test_label_radians |
integer; radian angle to rotate the test label counter-clockwise by; use fractions of pi (e.g. pi/2 = 90 degrees). |
rotate_test_label_degrees |
integer; angle in degrees to rotate the global label counter-clockwise by. |
Use facet_chart
to create facet charts.
List containing coordinates of chart objects.
plot_facets
facet_chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.