computeMeanAndSD: Compute the mean and sd of a discrete Rankin distribution

Description Usage Arguments Value

View source: R/utilities.R

Description

Compute the mean and sd of a discrete Rankin distribution

Usage

1
computeMeanAndSD(probVec = rep(1, 7L), support = 0L:6L)

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)

Value

a named vector of mean and sd


bnaras/ASSISTant documentation built on Nov. 23, 2019, 6:20 p.m.