ABCcleanData {ABCanalysis}R Documentation

Data cleaning for ABC analysis

Description

Only the first column of Data is used, anything not beeinh positive numerical value is set to zero

Usage

ABCcleanData(Data)

Arguments

Data

vector[1:n] describes an array of data: n cases in rows of one variable

Details

Data <0 are set to zero, non-numeric values (NA,NaN,etc.) in Data are set to zero strings and chars are set to zero infinitive numbers are set to max(Data)

Value

Output is of type list which's parts are described in the following

CleanedData

vector [1:m], columnvector containing Data>=0 and zeros for all NA, NaN and negative values in Data(1:n)

Data2CleanInd

vector [1:k], Index such that CleanedData = nantozero(Data(Data2CleanInd))

RemovedInd

vector [1:l], Index such that Data(RemovedInd) is the data that has been removed if RemoveSmallYields==1

Author(s)

http://www.uni-marburg.de/fb12/datenbionik

Michael Thrun


[Package ABCanalysis version 1.2.1 Index]