Description Usage Arguments Value Examples
Creates a new data list from an old one that includes categorical variables indicating replicates along specified dimensions of replication.
1 | dims_to_vars(dl, dimids)
|
dl |
A data list |
dimids |
A character vector containing the identifier(s) for the dimension(s) that are to be used to create the new variable(s). If |
A data list.
1 2 3 4 5 6 7 8 9 | data(fake.community)
fc0 <- fake.community
fc1 <- dims_to_vars(fake.community)
fc2 <- dims_to_vars(fake.community, "years")
summary(fc0)
summary(fc1)
summary(fc2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.