View source: R/treeplyr_functions.R
mutate.treedata | R Documentation |
treedata
This function can be used to add new variables to a treedata object; see mutate
.
## S3 method for class 'treedata' mutate(.data, ...) ## S3 method for class 'grouped_treedata' mutate(.data, ...)
.data |
An object of class |
... |
Arguments to mutate the treedata object |
An object of class treedata
with new data added.
mutate
data(anolis) td <- make.treedata(anolis$phy, anolis$dat) tdmutate <- mutate(td, lnSVL = log(SVL), badassery = awesomeness + hostility)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.