Description Usage Arguments See Also Examples
Function to dynamically generate formulas - (F)ormula (L)ist - to be used in mutar.
1 2 3 4 5 6 |
... |
(formulas) |
.n |
names to be used in formulas. Can be any object which can be used by extract to select columns. NULL is interpreted to use the formulas without change. |
pattern |
(character) pattern to be replaced in formulas |
object |
(FormulaList) |
data |
(data.frame) |
mutar
1 2 | FL(.n ~ mean(.n), .n = "variable")
as(makeFormulas(.n ~ mean(.n), .n = "variable"), "FormulaList")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.