scale: scale

scaleR Documentation

scale

Description

Center/scale a float vector/matrix.

Usage

## S4 method for signature 'float32'
scale(x, center = TRUE, scale = TRUE)

Arguments

x

A float vector/matrix.

center, scale

Logical

Details

Only logical center and scale parameters are accepted at this time.

Value

A float matrix.

Examples

library(float)

s = flrunif(10, 3)
scale(s)


float documentation built on Feb. 16, 2023, 6:43 p.m.