R/Hill.N2.core.R

Defines functions Hill.N2.core

Documented in Hill.N2.core

#' @importFrom rioja Hill.N2
#' @importFrom stats quantile
#' @export

Hill.N2.core <- function(spp) {
  hn2 <- Hill.N2(spp, margin = 1)
  return(quantile(hn2, prob = c(0, .25, .5)))
}

Try the palaeoSig package in your browser

Any scripts or data that you put into this service are public.

palaeoSig documentation built on March 31, 2023, 9:34 p.m.