R/getCoord.R

Defines functions getCoord

Documented in getCoord

#' getCoord function
#'
#' function to (do something)
#'
#' @param plots [value]
#' @param plotNo [value]
#' @param corner [value]. Default is "bottomright"
#' @return [value]
#' @details [fill in details here]
#' @examples # none
#' @export
getCoord <- function(plots, plotNo, corner = "bottomright"){
	pos <- c(bottomleft = 1, bottomright = 2, topright = 3, topleft = 4)
	i <- pos[corner]
	plots@corners[[plotNo]][i,]
}
nsantantonio/fieldMapR documentation built on Feb. 4, 2025, 3:07 a.m.