Skip to content

statip

0.2.3Package record

Statistical Functions for Probability Distributions and Regression

4packages depend
128.9Kdownloads / year
16.6%test coverage
13/13flavors OK

Overview

About

A collection of miscellaneous statistical functions for probability distributions: 'dbern()', 'pbern()', 'qbern()', 'rbern()' for the Bernoulli distribution, and 'distr2name()', 'name2distr()' for distribution names; probability density estimation: 'densityfun()'; most frequent value estimation: 'mfv()', 'mfv1()'; other statistical measures of location: 'cv()' (coefficient of variation), 'midhinge()', 'midrange()', 'trimean()'; construction of histograms: 'histo()', 'find_breaks()'; calculation of the Hellinger distance: 'hellinger()'; use of classical kernels: 'kernelfun()', 'kernel_properties()'; univariate piecewise-constant regression: 'picor()'.

Changes in 0.2.3

Bug fixes

  • Fix bug in prune().
  • Now hellinger() returns the Hellinger distance, not the square of it (Issue #1, thanks to benjones13).

Features

  • Use model.frame() to improve the way formulas are processed in picor().
  • Now mfv() is powered by a function tableNA() and returns a factor with the same levels as x, when x is itself a factor.
  • In mfv() the argument na.rm is soft-deprecated (so still accepted for now, with a message thrown); the default argument is now called na_rm.
  • Add various statistical functions: cv() (coefficient of variation), midhinge(), midrange(), trimean().
  • Add histo() to compute a histogram and find_breaks() to give breakpoints just like MASS::truehist() does.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.3
READMEYes · 59 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.3Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
20 (1 internal)
Examples that run
90%9 run in a plain check · 1 never run
Exported functions with examples
44%
Documented parameters
98%
Return-value docs
89%
Help pages citing references
35%

Downloads

128.9K
CRAN downloads in the past year
Rank #1,166 · ~353/day · ~10.7K/mo
Daily download trend is not available in this view yet.
10.5K30 days
29.4K90 days
128.9K1 year
Compare downloads with other packages →
Also on1K r2u8 autocran4.3K conda_forge153 c2d4u

Repository

2Stars
0Forks
1Open issues
0Open PRs
0Releases
26Commits
2Commit identities
26 commits · Last activity 2019-11-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
27
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-08-28 · 22026-07-07 · 2
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/paulponcet/statip on 2026-10-11.

Continuous integration (1)
Travis CI (config file)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing statip adds 1 package (1 with compiled code, 727 KB of source tarballs). Heaviest: clue 727 KB.

Depends (1)
R >= 3.1.3
Imports (4)
cluegraphicsrpartstats
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
4direct
11indirect
Imports 4
Depends, Imports or LinkingTo, most downloaded first

People & History

People (4)
Author, Maintainer since 0.1.4 (2017)
Author, Copyright holder
C function 'BinDist' copied from package 'stats'
Contributor
C function 'BinDist' copied from package 'stats'
Copyright holder
C function 'BinDist' copied from package 'stats'
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.3Latest
    record
    2019-11-17 · current release · diff ↗ ·
    added 7 exports
    cv, find_breaks, histo, midhinge, midrange, tableNA, trimean
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.0
    record
    2018-07-31 · diff ↗ ·
    added 5 exports
    as.stepfun, bandwidth, knots, na.pass, picor
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.5
    record
    2017-11-05 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.4
    record
    2017-01-29
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-01-29
Total releases
4 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 3.1.3
Download size
26 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("statip")
Poncet, P., The R Core Team, The R Foundation, & Baddeley, A. (2019). statip: Statistical Functions for Probability Distributions and Regression (Version 0.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.statip

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for statip version 0.2.3 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy