Description Usage Arguments Value Examples
View source: R/define_ophiuroid_size.R
Note that this function only works under my measure protocol for ophiuroids. If you use different measurement protocols while using this function, dubious results might appear. See example for more insight.
1 | define_ophiuroid_size(data, protocol_ophiuroid, grouping_variables)
|
data |
A long format data that had their biovolume stored in the column "Size". |
protocol_ophiuroid |
Currently have two options:.
|
grouping_variables |
A character vector of the subset of column names. The variables should at least include the dates, stations, and replicates to prevent individuals across different samples from being added together. |
The modified input data with the size of the ophiuroids manipulated
1 2 3 4 5 6 7 | a <- data.frame(
Taxon = rep("Ophiuroidea", 6),
Size = runif(6, min = 1, max = 5),
Note = c("Dics-1", rep("Arm-1", 4), "Arm")
)
define_ophiuroid_size(data = a, protocol = "all_arms")
define_ophiuroid_size(data = a, protocol = "longest_arm")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.