R/tpha.R

Defines functions tpha

Documented in tpha

#' TPHA
#'
#' @description Function to return the number of trees per hectare
#' @param TreeNo Tree name
#' @param plotsize Plot size in hectares
#'
#' @return
#' @export
#'
#' @examples
tpha = function(TreeNo,plotsize)
{
  return (length(unique(TreeNo))/plotsize)
}
jonathandash/wafR documentation built on March 27, 2022, 11:47 a.m.