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.

sgmean: Proportional Trimmed Mean

Computes a proportional trimmed mean that resolves the integer truncation problem of base R's mean(..., trim). When k = trim * n is non-integer, a fractional discount (1 - delta) is applied to boundary observations, where delta = k - floor(k). The resulting estimator is continuous in alpha for any fixed n, syntactically identical to mean(..., trim), and compatible with the 'Statgraphics' implementation. See Gaviria Chaverra (2026) <doi:10.32614/CRAN.package.sgmean>.

Version: 0.1.1
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-07-29
DOI: 10.32614/CRAN.package.sgmean
Author: Juan C. Gaviria-Chaverra ORCID iD [aut, cre]
Maintainer: Juan C. Gaviria-Chaverra <jcarlos.gaviria at udea.edu.co>
BugReports: https://github.com/jcarlosgaviria/sgmean/issues
License: MIT + file LICENSE
URL: https://github.com/jcarlosgaviria/sgmean
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: sgmean results

Documentation:

Reference manual: sgmean.html , sgmean.pdf
Vignettes: sgmean: Trimmed Mean Compatible with Statgraphics (source, R code)

Downloads:

Package source: sgmean_0.1.1.tar.gz
Windows binaries: r-devel: sgmean_0.1.1.zip, r-release: sgmean_0.1.1.zip, r-oldrel: sgmean_0.1.1.zip
macOS binaries: r-release (arm64): sgmean_0.1.1.tgz, r-oldrel (arm64): sgmean_0.1.1.tgz, r-release (x86_64): sgmean_0.1.1.tgz, r-oldrel (x86_64): sgmean_0.1.1.tgz
Old sources: sgmean archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sgmean to link to this page.

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.