#' @title Mary Hunnicut Shrub and Tree Diversity
#'
#' @description Calculates the partial HSI given the tree and shrub diversity.
#'
#' @param x The number of shrub and tree species, per acre, as counted on a line transect or quadrant.
#'
#' @return Returns the relative HSI value
#'
#' @usage MH.std(x)
#'
#' @export
#' @name MH.std
#'
#' @author Dominic LaRoche
#'
MH.std <- function(x){
s <- pgamma(x, 2, 0.8)
return(s)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.