#' Rename Species levels
#'
#' @param Plant_Surveys Plant Info
#'
#' @export
renameSpecies <- function(dat) {
dat %>%
mutate(
Species = replace(
Species,
which(Species=="pusilla"),
"Opuntia pusilla"
),
Species = replace(
Species,
which(Species=="stricta"),
"Opuntia stricta"
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.