probs0.9.9 package

Elementary Probability on Finite Sample Spaces

urnsamples.default

Sampling from Urns This function creates a sample space associated wit...

urnsamples

Sampling from Urns This function creates a sample space associated wit...

genLogRegData

Generate data for logistic regression

genXdata

Generate continuous model matrix data

iidspace

Independent Identical Experiments Sets up a probability space correspo...

isrep.data.frame

Is Repeated in a Vector Tests for a certain number of repetitions of `...

setdiff.ps

Set Difference of Subsets Calculates the (nonsymmetric) set difference...

setdiff

Set Difference of Subsets Calculates the (nonsymmetric) set difference...

sim

Simulate Draws from a Sample Space

subset.ps

Subsets of Probability Spaces This is a method for subset() for the ...

tosscoin

Tossing a Coin

union.data.frame

Union of Subsets Calculates the union of subsets of a probability spac...

union.default

Union of Subsets Calculates the union of subsets of a probability spac...

union.ps

Union of Subsets Calculates the union of subsets of a probability spac...

union

Union of Subsets Calculates the union of subsets of a probability spac...

addrv

Adding Random Variables to a Probability Space

cards

A Standard Set of Playing Cards

countrep.data.frame

Count Repetitions Counts the number of repetitions of vals in a give...

countrep.default

Count Repetitions Counts the number of repetitions of vals in a give...

countrep

Count Repetitions Counts the number of repetitions of vals in a give...

empirical

Empirical Summary of a Simulation

euchredeck

A Deck of Playing Cards for Euchre

gen2wayTable

Generate Two-way Tables

genIndepTable

Generate Independent Two-way Table

urnsamples.data.frame

Sampling from Urns This function creates a sample space associated wit...

isrep.default

Is Repeated in a Vector Tests for a certain number of repetitions of `...

isrep

Is Repeated in a Vector Tests for a certain number of repetitions of `...

marginal

Marginal Distributions

noorder

Sort and Merge Probability Space Outcomes

setdiff.data.frame

Set Difference of Subsets Calculates the (nonsymmetric) set difference...

setdiff.default

Set Difference of Subsets Calculates the (nonsymmetric) set difference...

isin.default

Test Whether One Vector Is In Another Vector

isin

Test Whether One Vector Is In Another Vector

probspace.default

Probability Spaces Forms a probability space from a set of outcomes an...

probspace.list

Probability Spaces Forms a probability space from a set of outcomes an...

probspace

Probability Spaces Forms a probability space from a set of outcomes an...

rolldie

Rolling a Die

roulette

Roulette

isin.data.frame

Test Whether One Vector Is In Another Vector

intersect.data.frame

Intersection of Subsets Calculates the intersection of subsets of a pr...

intersect.default

Intersection of Subsets Calculates the intersection of subsets of a pr...

intersect.ps

Intersection of Subsets Calculates the intersection of subsets of a pr...

intersect

Intersection of Subsets Calculates the intersection of subsets of a pr...

is.probspace

Testing for a Probability Space Decides whether a given object is a pr...

nsamp

Number of Samples from an Urn

permsn

Generate All Permutations of x Elements Taken m at a Time

Prob.default

Probability and Conditional Probability Calculates probability and con...

Prob.ps

Probability and Conditional Probability Calculates probability and con...

Prob

Probability and Conditional Probability Calculates probability and con...

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.

  • Maintainer: Joe gr. Schlarmann
  • License: GPL (>= 3)
  • Last published: 2024-06-20