float (version 0.2-4)

scale: scale

Description

Center/scale a float vector/matrix.

Usage

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

Arguments

x

A float vector/matrix.

center, scale

Logical

Value

A float matrix.

Details

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

Examples

Run this code
# NOT RUN {
library(float)

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

# }

Run the code above in your browser using DataCamp Workspace