To remove NA
values.
dataNoNa <- data[!is.na(data$custnr), ]
To remove negative values.
dataClean <- dataNoNa[dataNoNa$custnr > 0, ]
solved Find errors in data with R [closed]
To remove NA
values.
dataNoNa <- data[!is.na(data$custnr), ]
To remove negative values.
dataClean <- dataNoNa[dataNoNa$custnr > 0, ]
solved Find errors in data with R [closed]