R/mapit.R

Defines functions mapit

Documented in mapit

#'A Tree Maping Function
#'@author Kristen Rodriguez
#'@param x A df
#'@return A treemap
#'@description This function allows a treemap to be generated
#'@examples
#'mapit(YI1)
#'@import treemap
#'@export


mapit <- function(x){
  treemap(x,
  index=c("Generation"),
  vSize="Species",
  vColor="Fitness", type = "value")
}
Farabell/MarIOGraphing documentation built on May 6, 2019, 4:34 p.m.