Description Usage Arguments Value Examples
View source: R/leafpacs-convert-ea.R
Convert EA data to standard input
1 |
data |
Data frame of macrophyte taxa and cover values from EA bulk download. |
Data frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Load data
library(dplyr)
indices <- utils::read.csv(system.file("extdat",
"MACP_OPEN_DATA_METRICS.csv",
package = "leafpacs"
))
predictors <- utils::read.csv(system.file("extdat",
"MACP_OPEN_DATA_SITE.csv",
package = "leafpacs"
))
# Tidy data
data <- dplyr::inner_join(indices, predictors, by = "SITE_ID")
data <- dplyr::select(data, -.data$REPLICATE_CODE)
data <- data %>% dplyr::filter(complete.cases(data))
data <- leafpacs_convert_ea(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.