r mean argument is not numeric code example Example: In mean.default(xprobs_df) : argument is not numeric or logical: returning NA mean(results$columnName, na.rm = TRUE)