Description Usage Arguments Details Examples
Convert var1 and var2 from formula or covariance to character
| 1 2 3 4 | initVar_link(var1, var2, repVar1 = FALSE, format = "list",
  Slink = lava.options()$symbols[1], Scov = lava.options()$symbols[2])
initVar_links(var1, format = "list")
 | 
| var1 | a character indicating the endogeneous variable or a formula | 
| var2 | an optional character indicating the exogeneous variable | 
| repVar1 | should var1 be duplicated to match var2 length. Only active if format = "list". | 
| format | should the name of the variable be return (format = "list"), a vector of character formula ("txt.formula") or a list of formula ("formula") | 
| Slink | the symbol for regression link | 
| Scov | the symbol for covariance link | 
See test file test/testthat/test-Reduce.R for examples
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | initVar_link(y ~ x1)
initVar_link("y ~ x1")
initVar_link(y ~ x1 + x2)
initVar_link("y ~ x1 + x2")
initVar_link(y ~ x1 + x2, repVar1 = TRUE)
initVar_link(y ~ x1 + x2, repVar1 = TRUE, format = "formula")
initVar_link(y ~ x1 + x2, repVar1 = TRUE, format = "txt.formula")
initVar_link("y", "x1", format = "formula")
initVar_link("y ~ x1:0|1")
initVar_links(y ~ x1)
initVar_links("y ~ x1")
initVar_links(c("y ~ x1","y~ x2"))
initVar_links(c(y ~ x1,y ~ x2))
initVar_links(c("y ~ x1","y~ x2"), format = "formula")
initVar_links(c(y ~ x1,y ~ x2), format = "formula")
initVar_links(c("y ~ x1","y~ x2"), format = "txt.formula")
initVar_links(c(y ~ x1,y ~ x2), format = "txt.formula")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.