Nonparametric methods with the np package