computeMeanAndSD: Compute the mean and sd of a discrete Rankin distribution
Description
Compute the mean and sd of a discrete Rankin distribution
Usage
computeMeanAndSD(probVec = rep(1, 7L), support = 0L:6L)
Value
a named vector of mean
and sd
Arguments
- probVec
a probability vector of length equal to length of support,
default is uniform
- support
a vector of support values (default 0:6 for Rankin Scores)