float (version 0.3-2)

scale: scale

Description

Center/scale a float vector/matrix.

Usage

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

Value

A float matrix.

Arguments

x

A float vector/matrix.

center, scale

Logical

Details

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

Examples

Run this code
library(float)

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

Run the code above in your browser using DataLab