scale_count: Apply various transformations to numeric (and non-id) data

Description Usage Arguments Details Value

View source: R/scale.R

Description

scale_count: Transforms integer and integerlike columns using log

scale_log: Transforms numeric columns using log

scale_normal: Transforms numeric columns using mean centering and dividing by standard deviation

scale_standard: Transforms numeric columns onto 0-1 scales with 0 and 1 set empirically

scale_sqrt: Transforms numeric columns using sqrt

Usage

1
2
3
4
5
6
7
8
9

Arguments

x

Input data frame containing numeric columns.

Details

Scale transformations are applied only to numeric (or in the case of scale_count only integer or integerish) columns that are not named "id" or "(\.|_)?id".

Value

A data frame with the same dimensions but with the numeric/relevant variables transformed.


textfeatures documentation built on Sept. 4, 2019, 1:05 a.m.