scale {float} | R 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)
[Package float version 0.3-2 Index]