Create, manipulate, transform, and simulate from discrete random variables. The syntax is modeled after that which is used in mathematical statistics and probability courses, but with powerful support for more advanced probability calculations. This includes the creation of joint random variables, and the derivation and manipulation of their conditional and marginal distributions.
Author  Andreas Buja [aut], Eric Hare [aut, cre], Heike Hofmann [aut] 
Date of publication  20150916 10:05:21 
Maintainer  Eric Hare <erichare@iastate.edu> 
License  GPL3 
Version  1.2.2 
URL  https://github.com/erichare/discreteRV 
Package repository  View on CRAN 
Installation  Install the latest version of this package by entering the following in R:



All man pages Function index File listing
Man pages  

as.RV: Turn a probability vector with possible outcome values in the...  
E: Expected value of a random variable  
grapesANDgrapes: Compute the logical AND of two events  
grapesingrapes: Generic method for in operator function  
grapesORgrapes: Compute the logical OR of two events  
iid: Probability mass function of X^n  
independent: Tests whether the random variables X and Y are independent  
joint: Joint probability mass function of random variables X and Y  
jointRV: Make a joint random variable consisting  
KURT: Kurtosis of a random variable  
marginal: Marginal distribution of a joint random variable  
margins: Marginal distributions of a joint random variable  
outcomes: Outcomes of random variable X  
P: Calculate probabilities of events  
plot.RV: Plot a random variable of class "RV"  
plot.RVsim: Plot a simulated random vector  
print.RV: Print a random variable of class "RV"  
probs: Probability mass function of random variable X  
Prop: Proportion of an event observed in a vector of simulated...  
props: Proportions of observed outcomes in one or more vectors of...  
qqnorm.RV: Normal quantile plot for RVs to answer the question how close...  
rsim: Simulate n independent trials from a random variable X:  
RV: Make a random variable consisting of possible outcome values...  
SD: Standard deviation of a random variable  
SKEW: Skewness of a random variable  
skewSim: Skew of the empirical distribution of simulated data  
SofI: Sum of independent random variables  
SofIID: Sum of independent identically distributed random variables  
V: Variance of a random variable 
Functions  

E  Man page Source code 
KURT  Man page Source code 
P  Man page Source code 
P.RVcond  Source code 
P.default  Source code 
Prop  Man page Source code 
RV  Man page Source code 
RVpackage  Man page 
SD  Man page Source code 
SKEW  Man page Source code 
SofI  Man page Source code 
SofIID  Man page Source code 
V  Man page Source code 
\%AND\%  Man page 
\%OR\%  Man page 
\%in\%  Man page 
as.RV  Man page Source code 
binopset  Source code 
exploreOutcomes  Source code 
iid  Man page Source code 
independent  Man page Source code 
joint  Man page Source code 
jointRV  Man page Source code 
marginal  Man page Source code 
margins  Man page Source code 
outcomes  Man page Source code 
plot.RV  Man page Source code 
plot.RVsim  Man page Source code 
print.RV  Man page Source code 
print.RVsim  Source code 
probs  Man page Source code 
props  Man page Source code 
qqnorm.RV  Man page Source code 
rsim  Man page Source code 
skewSim  Man page Source code 
ugh  Source code 
unopset  Source code 
Files  

inst
 
inst/doc
 
inst/doc/discreteRV.R  
inst/doc/discreteRV.html
 
inst/doc/discreteRV.Rmd  
NAMESPACE
 
R
 
R/discreteRVProbabilities.r  
R/discreteRVSimulations.r  
vignettes
 
vignettes/discreteRV.Rmd  
MD5
 
build
 
build/vignette.rds
 
DESCRIPTION
 
man
 
man/KURT.Rd  
man/jointRV.Rd  
man/independent.Rd  
man/iid.Rd  
man/grapesingrapes.Rd  
man/print.RV.Rd  
man/P.Rd  
man/as.RV.Rd  
man/skewSim.Rd  
man/SofI.Rd  
man/E.Rd  
man/grapesANDgrapes.Rd  
man/grapesORgrapes.Rd  
man/qqnorm.RV.Rd  
man/joint.Rd  
man/props.Rd  
man/plot.RVsim.Rd  
man/Prop.Rd  
man/plot.RV.Rd  
man/RV.Rd  
man/rsim.Rd  
man/SD.Rd  
man/margins.Rd  
man/outcomes.Rd  
man/SKEW.Rd  
man/marginal.Rd  
man/SofIID.Rd  
man/V.Rd  
man/probs.Rd 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.