Creates code to show a diagram in tikz format.
lav_plotinfo_tikzcode.RdCreates the code to make a diagram in tikz.
Usage
lav_plotinfo_tikzcode(plotinfo,
outfile = "",
cex = 1.3,
sloped.labels = TRUE,
standalone = FALSE,
mlovcolors = c("lightgreen", "lightblue"),
lightness = 1,
italic = TRUE,
auto.subscript = TRUE
)Arguments
- plotinfo
A plotinfo structure as returned from
lav_plotinfo_positions.- outfile
A connection or a character string, the file to store the code.
- cex
Minimum distance between nodes in cm.
- sloped.labels
logical, sloped labels for the edges.
- standalone
logical, add code to make teX file standalone?
- mlovcolors
Array of two colors for distinguishing ov nodes with same name between the levels in a multilevel model.
- lightness
A scalar factor to modify the distances between nodes.
- italic
Are labels to be in italic font? If FALSE the labels will be shown in mathrm font.
- auto.subscript
Logical, see
lav_label_code.