Description Usage Arguments Value Examples
The choreography is a central concept of the dance
package, most of the time you don't need to use it directly, but it is
used by many other functions like tango()
, samba()
, ...
1 | choreography(.tbl, ..., .env = caller_env())
|
.tbl |
A data frame |
... |
A variable number of formulas. |
.env |
parent environment of the created function, see |
a function that can be called with a single argument that represents indices.
When called with an integer vector idx
, the function returns a list
of each of the expressions given on the rhs evaluated on the subset
of the columns, i.e. in the formula ~mean(Sepal.Length)
the column
Sepal.Length
stands for Sepal.Length[idx]
.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.