RV-package |
Make a random variable consisting of possible outcome values and their probabilities or odds |
%AND% |
Compute the logical AND of two events |
%in% |
Generic method for in operator function |
%OR% |
Compute the logical OR of two events |
as.RV |
Turn a probability vector with possible outcome values in the 'names()' attribute into a random variable: |
E |
Expected value of a random variable |
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 trials |
props |
Proportions of observed outcomes in one or more vectors of simulated trials |
qqnorm.RV |
Normal quantile plot for RVs to answer the question how close to normal it is |
rsim |
Simulate n independent trials from a random variable X: |
RV |
Make a random variable consisting of possible outcome values and their probabilities or odds |
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 |