Title: | Statistical Significance Marks on Boxplots |
---|---|
Description: | Add significance marks to any R Boxplot, including a given significance niveau. |
Authors: | Louis-Marvin Sander, master of ecology student from Bayreuth, DE |
Maintainer: | Louis-Marvin Sander <[email protected]> |
License: | GPL (>= 2) |
Version: | 1.0 |
Built: | 2024-11-20 05:20:01 UTC |
Source: | https://github.com/cran/signibox |
Add significance marks to any R Boxplot, including a given significance niveau.
signibox(start = 1, end = 2, height = 8.5, sigtext = "test", color = "orange3", textsize = 1, linetype = 1, textheight = 0.5, linewidth = 1)
signibox(start = 1, end = 2, height = 8.5, sigtext = "test", color = "orange3", textsize = 1, linetype = 1, textheight = 0.5, linewidth = 1)
start |
Location of the fist boxplot that should be marked. |
end |
Location of the second boxplot that should be marked. |
height |
Height of the marker in the plot. |
sigtext |
Text above the significance mark. |
color |
Color of the mark and the text. |
textsize |
Size of the text. |
linetype |
Line type of the marker. |
textheight |
Height of the text above the marker. |
linewidth |
Width/Size of the marker. |
It adds a marker, created from two "arrows", to the graph.
Louis-Marvin Sander, master of ecology student from Bayreuth, DE
boxplot(iris, ylim=c(0,11)) # Marker only for illustration, no statisical evidence for given significance niveaus. signibox() signibox(2, 3, 10, "highly significant") signibox(4, 5, 4, "NS") signibox(start = 3, end = 5, height = 8.5, sigtext = "NS", color = "black", textsize = 2, linetype = 1, textheight = 0.5, linewidth = 2)
boxplot(iris, ylim=c(0,11)) # Marker only for illustration, no statisical evidence for given significance niveaus. signibox() signibox(2, 3, 10, "highly significant") signibox(4, 5, 4, "NS") signibox(start = 3, end = 5, height = 8.5, sigtext = "NS", color = "black", textsize = 2, linetype = 1, textheight = 0.5, linewidth = 2)