filmov
tv
Convert Categorical Variable to Numeric in R
Показать описание
you’ll learn how to convert categorical values into quantitative values to make statistical modeling easier.
Most statistical models can’t take in strings as inputs. We’ll go through the conversion based on the airline data set that we reviewed in the previous post.
The “Reporting Airline” feature in the Airline dataset is a categorical variable with nine character types: “AA”, “AS”, “B6”, “DL”, “HP”, “PA (1)”, “TW”, “UA” or “VX”.
You’ll need to convert these variables into a numeric format for further investigation.
For the complete tutorial visit
Data
#rstats #DataScience #categoricalintonumeric #R #RStudio
You can Contact us
YouTube Channel:-
Website Link:-
Facebook Page:-
Twitter:-
Flipboard:-
Most statistical models can’t take in strings as inputs. We’ll go through the conversion based on the airline data set that we reviewed in the previous post.
The “Reporting Airline” feature in the Airline dataset is a categorical variable with nine character types: “AA”, “AS”, “B6”, “DL”, “HP”, “PA (1)”, “TW”, “UA” or “VX”.
You’ll need to convert these variables into a numeric format for further investigation.
For the complete tutorial visit
Data
#rstats #DataScience #categoricalintonumeric #R #RStudio
You can Contact us
YouTube Channel:-
Website Link:-
Facebook Page:-
Twitter:-
Flipboard:-