Learn R Programming

Irescale (version 2.3.0)

rescaleI: Performs the rescale for all the variables in an input file.

Description

rescaleI It executes the whole analysis for all the measurements in the field.

  • It plots the histogram with the theorical distribution.

  • It plots the convexHull for each variable.

  • It calcualtes the area and centroid of the convex hull for each variable.

  • It calculates the I and rescale it for every variable.

  • It returns an object with the computations.

Usage

rescaleI(data, samples = 10000, scalingUpTo = "Quantile", sd = 1)

Arguments

data

the data frame obtained from loadFile.

samples

number of permutations for the resampling method.

scalingUpTo

the rescaling could be done up to the 0.01% and 99.99% quantile or max and min values. The two possible options are: "MaxMin", or "Quantile". The default value for this parameter is "Quantile"

sd

this represents upto which standard deviation you want to scale I

Value

An object with I, rescaleI and statistic summary for the inputs without scaling, the same statistics after scaling them, the p-value and the convexhull information

Examples

Run this code
# NOT RUN {
fileInput <- system.file("testdata", "chen.csv", package="Irescale")
data <- loadFile(fileInput)
scaledI<-rescaleI(data,100)
# }

Run the code above in your browser using DataLab