R/show_locations.R

Defines functions show_locations

Documented in show_locations

#' Show geographical coordinates
#'
#' Function to show exact sampling locations
#'
#' @return A table with sampling locations.
#' @author Raphael Scherrer
#' @export

# Function to show exact sampling locations
show_locations <- function() {
  # Exact sampling locations
  locations <- readRDS("data/locale.rds")
  locations <- locations[,-1]
  locations <- locations[,-3]
  locations <- droplevels(locations[locations[,2] != "secondary",])
  locations <- droplevels(locations[locations[,1] != "Nassau",])
  locations <- unique(locations)
  # print(xtable(locations, digits = 2), include.rownames = F)
}
rscherrer/sagreicolor documentation built on March 24, 2019, 8:34 p.m.