Description Usage Arguments Details Examples
There are a two ways to specify a casting formula: either as a string, or a list of quoted variables. This function converts the former to the latter.
| 1 | parse_formula(formula = "...  ~ variable", varnames, value.var = "value")
 | 
| formula | formula to parse | 
| varnames | names of all variables in data | 
| value.var | name of variable containing values | 
Casting formulas separate dimensions with ~ and variables within
a dimension with + or *. . can be used as a
placeholder, and ... represents all other variables not otherwise
used.
| 1 2 3 | reshape2:::parse_formula("a + ...", letters[1:6])
reshape2:::parse_formula("a ~ b + d")
reshape2:::parse_formula("a + b ~ c ~ .")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.