I get the error "Error in (1 - h) * qs[i] : non-numeric argument to binary operator" when I run quantile(seven$P2) tried: as.numeric
quantile(seven$P2)