Skip to contents

Customing "boxandwhisker2d" chart

Usage

fusionCustomBoxplot(
  fusionPlot,
  showmean = TRUE,
  drawmeanconnector = FALSE,
  mediancolor = "#FFFFFF",
  meaniconshape = "polygon",
  meaniconsides = "2",
  meaniconradius = "2",
  showalloutliers = TRUE,
  outliericonsides = "20",
  outliericonalpha = "40",
  outliericonshape = "triangle",
  outliericonsradius = "4"
)

Arguments

fusionPlot

fusionPlot object got by fusionPlot()

showmean

Show means

drawmeanconnector

Connect all means

mediancolor

Set the color of the median line

meaniconshape

Set the shape of the mean icon

meaniconsides

Set the sides of the mean icon

meaniconradius

Set the radius of the mean icon

showalloutliers

Show outliers

outliericonsides

Set the sides of the outliers

outliericonalpha

Set the background color transparency of the outliers

outliericonshape

Set the shape of the outliers

outliericonsradius

Set the radius of the outliers

Examples

library(fusionchartsR)
mtcars %>%
fusionPlot(x = "cyl", y = "mpg", type = "boxandwhisker2d") %>%
fusionCustomBoxplot(drawmeanconnector = TRUE)