ABCcleanData {ABCanalysis} | R Documentation |
Only the first column of Data is used, anything not beeinh positive numerical value is set to zero
ABCcleanData(Data)
Data |
vector[1:n] describes an array of data: n cases in rows of one variable |
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)
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 |
http://www.uni-marburg.de/fb12/datenbionik
Michael Thrun