checkRange01: Check for 0,1 Interval Normalization.

Description Usage Arguments Value Examples

Description

Verifies if the data is normalized in the range 0,1. If they are not, the normalization is performed and a warning issued.

Usage

1

Arguments

data

A matrix of data

Value

The data matrix normalized in the range 0,1.

Examples

1
2
3
4
5
6
7
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))

anocva documentation built on May 2, 2019, 1:44 p.m.

Related to checkRange01 in anocva...