normalize-DFrame-method: Normalize a S4 'DFrame' Object

Description Usage Arguments Value

Description

Normalize a S4 DFrame Object

Usage

1
2
## S4 method for signature 'DFrame'
normalize(object, MARGIN = 2, FUN = "preprocessCaret", ...)

Arguments

object

A DFrame or DataFrame object to normalize.

MARGIN

An integer indicating if rows (1) or columns (2) should be normalized. Defaults to 2 for columns.

FUN

A function to normalize your data with. Should accept a rectangular object such as a matrix, data.frame, or data.table and return an object of the same class with the data normalized using FUN.

...

Fall through parameters to FUN. For the default FUN, these are passed to caret::preProcess to allow configuration of the normalization method. Omitting any arguments with the default FUN will scale and center the data.

Value

A normalized DFrame object.


bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.