R/rareboxplot.R

Defines functions rareboxplot

Documented in rareboxplot

#' @title Creates a boxplot containing the averages of four indexes
#' @name rareboxplot
#'
#' 
#' 
#' @description function to plot index values on a single charts
#' 
#' 
#' @details The rrboxplot function uses the function table to create 4 box in a single layout;
#' @details The rows in each box represent the average of each index
#' 
#' @param table containing the information necessary to plot
#' @author Everton Alves Maciel
#' 
#' @export
rareboxplot<-function(table){
  gri<-table$gri
  hsi<-table$hsi
  psi<-table$psi
  rr<-table$rr
  boxplot(gri,hsi,psi,rr,names=c("gri","hsi","psi","rr"))
}
evertonmaciel/rrindex documentation built on Jan. 19, 2024, 7:37 p.m.