coord_items {IPV}R Documentation

Coord Items

Description

Generates the coordinates for an item chart.

Usage

coord_items(
  data,
  facet_order = NULL,
  rotate_radians = 0,
  rotate_degrees = 0,
  grid_limit = 0,
  dist_test_label = 0.5,
  rotate_test_label_radians = 0,
  rotate_test_label_degrees = 0,
  width_items = 1,
  length_items = 1,
  length_ratio_items = 1.5,
  dodge = 1
)

Arguments

data

SEM estimates in the appropriate format, given by the input functions.

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'.

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.

grid_limit

integer; upper limit to which the grid lines should be drawn; defaults to 0, in which case an appropriate value is estimated.

dist_test_label

integer; position of the test label relative to the surrounding circle; defaults to .5, in which case the test label is displayed halfway 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 test label counter-clockwise by.

width_items

integer; item bar width relative to default.

length_items

integer; item bar length relative to default.

length_ratio_items

integer; relative item bar length; defaults to 1.5.

dodge

integer; horizontal outward dodge of facet labels relative to default.

Details

Use item_chart to create item charts.

Value

List containing coordinates of chart objects.

See Also

plot_items coord_nested item_chart


[Package IPV version 1.0.0 Index]