update: include new function removeNA which removes NA values in specified rows in a data frame