# prob v1.0-1

0

Monthly downloads

## Elementary Probability on Finite Sample Spaces

A framework for performing elementary probability
calculations on finite sample spaces, which may be represented by data frames
or lists. 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.

## Functions in prob

Name | Description | |

union | Union of Subsets | |

urnsamples | Sampling from Urns | |

is.probspace | Testing for a Probability Space | |

prob-package | Elementary Probability on Finite Sample Spaces | |

permsn | Generate All Permutations of x Elements Taken m at a Time | |

intersect | Intersection of Subsets | |

subset | Subsets of Probability Spaces | |

isrep | Is Repeated in a Vector | |

isin | Test Whether One Vector Is In Another Vector | |

tosscoin | Tossing a Coin | |

prob | Probability and Conditional Probability | |

probspace | Probability Spaces | |

addrv | Adding Random Variables to a Probability Space | |

rolldie | Rolling a Die | |

marginal | Marginal Distributions | |

roulette | Roulette | |

nsamp | Number of Samples from an Urn | |

setdiff | Set Difference of Subsets | |

sim | Simulate Draws from a Sample Space | |

euchredeck | A Deck of Playing Cards for Euchre | |

countrep | Count Repetitions | |

empirical | Empirical Summary of a Simulation | |

CharFunc | Characteristic functions | |

genIndepTable | Generate Independent Two-way Table | |

genXdata | Generate continuous model matrix data | |

genLogRegData | Generate data for logistic regression | |

gen2wayTable | Generate Two-way Tables | |

iidspace | Independent Identical Experiments | |

No Results! |

## Vignettes of prob

Name | ||

charfunc.Rnw | ||

prob.Rnw | ||

No Results! |

## Last month downloads

## Details

Date | 2018-08-27 |

License | GPL (>= 3) |

URL | http://prob.r-forge.r-project.org, http://gkerns.people.ysu.edu/ |

Repository | CRAN |

Repository/R-Forge/Project | prob |

Repository/R-Forge/Revision | 51 |

Repository/R-Forge/DateTimeStamp | 2018-08-27 16:33:32 |

Date/Publication | 2018-08-27 19:20:03 UTC |

NeedsCompilation | no |

Packaged | 2018-08-27 16:50:38 UTC; rforge |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/prob)](http://www.rdocumentation.org/packages/prob)
```