Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 96

Question #6

Оглавление

Use the dataset mtcars (fromthe libraryMASS) and explore the distribution of the horsepower (hp). How would you proceed to make a factoring (e.g. Low, Medium, High) for this attribute? Hint: Use the function cut().

cut()

The Big R-Book

Подняться наверх