probs: Elementary Probability on Finite Sample Spaces

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.

Getting started

Package details

AuthorG. Jay Kerns [aut, cph], Joe gr. Schlarmann [cre]
MaintainerJoe gr. Schlarmann <schlarmann@produnis.de>
LicenseGPL (>= 3)
Version0.9.9
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("probs")

Try the probs package in your browser

Any scripts or data that you put into this service are public.

probs documentation built on June 22, 2024, 10:41 a.m.