The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: Descriptive Statistics Graphics and
Utilities
License: GPL (โฅ 2)
pharos is the graphics layer of the DescToolsX
ecosystem. It draws statistical graphics on top of base
graphics โ distribution and density displays, bivariate and categorical
plots, diagnostic and model evaluation panels โ and supplies the colour,
geometry, formatting and HTML tools they are built from.
A theme system resolves colours, symbols and layout centrally, so the look of a whole analysis can be set once instead of being repeated at every call.
The package is self-contained and usable without the rest of the suite.
๐ Documentation: https://andrisignorell.github.io/pharos/
install.packages("pharos")Or the development version from GitHub:
remotes::install_github("AndriSignorell/pharos")plotFreqDist(), plotDens(),
plotECDF(), plotProbDist()plotBox(), plotViolin(),
plotRidge(), plotDensBox()plotDot(), plotBar(),
plotBag(), plotQQ()plotLines(), plotTimeSeries(),
plotFun()plotXY(), plotBubble(),
plotDens2D(), plotHexbin()plotCor(), plotAssoc(),
plotMosaic(), plotHeatmap()plotTernary(), plotPolar(),
plotCirc(), plotSankey(),
plotWeb(), plotTreemap()plotLift(), plotPropCI(),
plotMiss(), plotCatDist()plot() methods for Bland-Altman and Lorenz curve
objects, plotBinaryTree()lines() methods for lm and
loess fitsplotFacet() โ panel layouts with a user-supplied panel
functioncanvas(), plotArea(), mar(),
abcCoords(), axisBreak(),
axTicksPosixct(), axisFmt()spreadOut(), lineToUser(),
isValidPlotRegion()boxedText(), barText(),
textLegend(), colLegend(),
errBars(), band(), stamp(),
titleRect(), lineSep()colToHex(), colToRgb(),
colToHsv(), hexToRgb(),
rgbToCmy(), cmykToRgb(),
longToRgb()addOpacity(), fade(),
darken(), lighten(), shade(),
mixCol(), contrastCol(),
grayScale()pal(), palNames(),
hcol(), findCol(),
setBackCol()arc(), bezier(), circle(),
ellipse(), ring(), polygonX(),
regPolygon(), polarGrid()rotate(), transformXY(), coordinate
conversions, degree/radian conversion, convUnit()fm(), fmCI(), unit(),
ftable() method for listsstrAbbr(), strAlign(),
strCap(), strChop(), strPad(),
strTrunc(), strRev(), strDist(),
strSpell(), strExtract()asHtml(), toHtmlTable(),
escapeHtml(), htmlHat(),
htmlBar(), %_%, asImg(),
asFileLink(), embedFile(),
preview()getTheme(), setTheme() /
resetTheme() and style()library(pharos)
# distribution overview: histogram, density, boxplot, ecdf in one panel
plotFreqDist(rnorm(500))
# named plot positions without arithmetic
plot(rnorm(20), type = "n")
xy <- abcCoords("topleft", inset = 1)
text(xy$xy$x, xy$xy$y, "annotation", adj = xy$adj)
# colour manipulation
fade(pal("dark"), 0.4)
# faceting: one panel per sample, drawn by a panel function
samples <- lapply(split(iris, iris$Species),
function(d) list(x = d$Sepal.Length, y = d$Petal.Length))
plotFacet(samples, dim = c(1, 3),
FUN = function(x, y, col, pch, ...) points(x, y, col = col, pch = pch),
xlab = "Sepal length", ylab = "Petal length")
# flows between stages: one row per flow
plotSankey(data.frame(from = c("A", "A", "B", "C", "D"),
to = c("C", "D", "D", "E", "F"),
value = c(5, 3, 4, 5, 7)))pharos builds on bedrock (base utilities).
DescToolsX (descriptive statistics), lumen
(tests and intervals), alloy (modelling), pons
(MS-Office) and swissValet (RStudio addins) complete the
family.
Parts of the code and documentation were reviewed with the help of large language models (OpenAI Codex, Anthropic Claude). Every suggestion was assessed, edited and verified by the maintainer, who remains solely responsible for the content of this package.
GPL (โฅ 2)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.