scale_data: Scale data base on specify metrics

scale_dataR Documentation

Scale data base on specify metrics

Description

This function allows you to scale the data based on your metrics of interest

Usage

scale_data(x, scale = "row", na.rm = TRUE, method = "median")

Arguments

x

data

scale

By 'row' or 'column'

na.rm

Remove NAs. Default is TRUE

method

What kind of metrics? Default is 'median'. (Can be 'mean', 'median', 'mode', 'max', 'min', etc)

Examples

scale_data(mtcars)

naikai/sake documentation built on Feb. 15, 2023, 11 p.m.