add_within | R Documentation |
Add within factors
add_within(.data, .by = NULL, ...)
.data |
the data frame |
.by |
the grouping column (groups by row if NULL) |
... |
the names and levels of the new factors |
data frame
add_random(subj = 2, item = 2) %>%
add_within("subj", time = c("pre", "post"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.