Learn R Programming

SciencesPo (version 1.3.5)

zScores: Compute z-scores

Description

Compute z-scores

Usage

zScores(x, na.rm = getOption("na.rm", FALSE))

Arguments

x
a numeric vector
na.rm
a logical indicating whether missing values should be removed

encoding

UTF-8

Examples

Run this code
x <- sample(10)
zScores(x)

Run the code above in your browser using DataLab