z

0th

Percentile

Convert numeric vector to z-values

A trivial scaling function. You might as well use base::scale, which allows arbitrary centers and scales, but returns a matrix by default.

Usage
z(x)
Arguments
x

A numeric vector.

Value

A vector of z-values of the same length as x.

Aliases
  • z
Examples
# NOT RUN {
x      <- rnorm(500, mean = 10, sd = 5)
z_vals <- z(x)
round(c(mean = mean(z_vals), sd = sd(z_vals)), 2)
# }
Documentation reproduced from package tadaatoolbox, version 0.16.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.