checkRange01 {anocva} | R Documentation |
Verifies if the data is normalized in the range 0,1. If they are not, the normalization is performed and a warning issued.
checkRange01(data)
data |
A matrix of data |
The data matrix normalized in the range 0,1.
set.seed(2000)
simuData = runif(100, min = 0.5, max=7)
sprintf("The minimum value is %.2f and the maximum is %.2f.", min(simuData), max(simuData))
simuData = checkRange01(simuData)
sprintf("Now the minimum value is %.2f and the maximum is %.2f.", min(simuData), max(simuData))