popscale: Population scale/Z scores

Description Usage Arguments Author(s)

Description

The built-in R function scale uses the sample standard deviation when its scale option is set to TRUE. This function uses the population standard deviation instead.

Usage

1

Arguments

x

A numeric vector, matrix, or data.frame

center

A logical indicating whether the scores in the columns in x should have their column means subtracted

scale

A logical indicating whether the scores in the columns in x should be divided by their column standard deviations

Author(s)

Borrowed from Ryne Sherman on 2012/09/06, his function is named scale2


russmisc documentation built on May 2, 2019, 4:44 p.m.