layout.Rd
Generate a tidy_layout for a SEM graph by specifying node names,
and empty strings or NA
values for spaces.
get_layout(..., rows = NULL)
... | Character arguments corresponding to layout elements. Use node names, empty strings (""), or NA values. |
---|---|
rows | Numeric, indicating the number of rows of the graph. |
Object of class 'tidy_layout'
as.layout
get_layout("c", "", "d", "", "e", "", rows = 2)#> y x name #> 1 2 1 c #> 2 1 2 e #> 3 2 3 d