View source: R/rhobo.treatments.R
rhobo.treatments | R Documentation |
Create a new column for any data frame with lake treatments, based on lake names. Order the lakes by name (default) or treatment
rhobo.treatments(x, lakename = NULL, orderby = "number", order = NULL)
x |
Input dataset |
lakename |
Character string indicating the name of the column with the lake name information in the x dataset, or alternatively, the column index. |
orderby |
Choose one of c("number", "treatment", "quadrat", "own") to select the order of lakes. Default: "number". |
order |
Default = NULL, or must be a numeric vector with 16 numbers, specified by the user to choose an order, e.g., c(7,8,1:4, 6, 5, 9:16). |
Rosalie Bruel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.