We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In semPaths, to specify the layout of nodes, we need to prepare a matrix:
semPaths
m <- matrix(c("x1", NA, NA, NA, NA, "x3", NA, "x4", "x2", NA, NA, NA), byrow = TRUE, 3, 4)
This will become inefficient to create and modify if the number of variables is large. We can write a function to create the matrix this way:
m <- fct(x1 = c(2, 1), x2 = c(3, 1), x3 = c(2, 2), x4 = c(2, 4))
This may look less intuitive, but is much easier to modify when the number of variables is large.
Done (bfd921e)
The text was updated successfully, but these errors were encountered:
Function drafted. Being tested in the experimental branch experimental_sf
experimental_sf
Sorry, something went wrong.
sfcheung
No branches or pull requests
In
semPaths
, to specify the layout of nodes, we need to prepare a matrix:This will become inefficient to create and modify if the number of variables is large. We can write a function to create the matrix this way:
This may look less intuitive, but is much easier to modify when the number of variables is large.
Status
Done (bfd921e)
The text was updated successfully, but these errors were encountered: