Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 91
Digression – The reduced importance of factors
ОглавлениеWhen R was in its infancy, both computing power and memory were not at the level as today and in most cases it made sense to coerce strings to factors. For example, the base-R functions to load data in a data-frame (i.e. two dimensional data) will silently convert strings to factors. Today, that is most probably not what you need. Therefore, we recommend to make it a habit to use the functions from the tidyverse
(see Chapter 7 “Tidy R with the Tidyverse” on page 161).