Learn R Programming

ABCanalysis (version 1.1.0)

ABCcleanData: 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

Value

  • Output is of type list which's parts are described in the following
  • CleanedDatavector [1:m], columnvector containing Data>=0 and zeros for all NA, NaN and negative values in Data(1:n)
  • Data2CleanIndvector [1:k], Index such that CleanedData = nantozero(Data(Data2CleanInd))
  • RemovedIndvector [1:l], Index such that Data(RemovedInd) is the data that has been removed if RemoveSmallYields==1

Details

Data