Skip to content

probs

0.9.9Package record

Elementary Probability on Finite Sample Spaces

0packages depend
11.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Performs elementary probability calculations on finite sample spaces, which may be represented by data frames or lists. This package is meant to rescue some widely used functions from the archived 'prob' package (see https://cran.r-project.org/src/contrib/Archive/prob/). Functionality includes setting up sample spaces, counting tools, defining probability spaces, performing set algebra, calculating probability and conditional probability, tools for simulation and checking the law of large numbers, adding random variables, and finding marginal distributions. Characteristic functions for all base R distributions are included.

Changes in 0.9.9
  • Every function that had an manual entry in the old prob package was rescued and included.
  • Functions that have **not** been rescued are those from characteristicfunctions.r. I don't know what they are for, maybe they have been there for educational reasons. The first of these functions calls the fAsianOptions-package, which is why prob was archived on CRAN.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.9.9
READMEYes · 45 wordsVignettesNoNEWSYes · 100% structured · mentions 0.9.9Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
49
Examples that run
100%45 run in a plain check
Exported functions with examples
85%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

11.5K
CRAN downloads in the past year
Rank #3,986 · ~31/day · ~955/mo
Daily download trend is not available in this view yet.
88330 days
2.3K90 days
11.5K1 year
Compare downloads with other packages →
Also on66 r2u7 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing probs adds 4 packages (2 with compiled code, 2.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, plyr 392 KB, reshape 42 KB.

Depends (0)
none
Imports (5)
statsutilscombinatMASSreshape
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Maintainer since 0.9.9 (2024)
Author, Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.9Latest
    2024-06-20 · current release
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-20
Total releases
1 / 2 yrs
License
GPL (>= 3) OSI
Download size
25 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("probs")
gr. Schlarmann, J., & Kerns, G. J. (2024). probs: Elementary Probability on Finite Sample Spaces (Version 0.9.9) [Computer software]. https://doi.org/10.32614/CRAN.package.probs

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 probs version 0.9.9 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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