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

View source: R/utilities.R

computeMeanAndSDR Documentation

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)

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


ASSISTant documentation built on Dec. 2, 2022, 5:12 p.m.