tidymodlr-package {tidymodlr} | R Documentation |
tidymodlr
: Modelling with tidy long data
Description
tidymodlr
transforms long data into a matrix form to allow for ease
of input into modelling packages for regression, principal components,
imputation or machine learning.
Details
In many fields it is common to have data in tidy long data, with
the rows representing many variables, but only one
column representing the values (see ?wb
for an example).
tidymodlr
is particularly useful when the indicator names in the
columns are long descriptive strings, for example
'Energy imports, net (% of energy use)'.
In such cases a straight pivot wider
generates column names that are
not only cumbersome, but also generate errors in many standard
modelling packages that require base
column names.
High level analysis functions for correlation, imputation and principals components analysis are provided.
Author(s)
Maintainer: David Hammond anotherdavidhammond@gmail.com
See Also
Useful links:
Report bugs at https://github.com/david-hammond/tidymodlr/issues