Z: Standardise by subtracting off expectation and dividing by...

Description Usage Arguments Examples

View source: R/moments.R

Description

This is often called the z score.

Usage

1
Z(x)

Arguments

x

a random variable

Examples

1
2
3
4
dice <- rv(1:6)
(zdice <- Z(dice))
E(zdice)
SD(zdice)

hadley/rv2 documentation built on May 17, 2019, 12:16 p.m.