filmov
tv
Don't Make This MISTAKE with R Data Classes !!! #shorts #rstats #datatypes #programming #dataframe

Показать описание
How to convert factors to the numeric data type without changing the factor level numbers in the R programming language.
R code of this video:
x_fac <- factor(c(4, 8, 4, 6, 6, 8))
x_fac
x_num1
x_char
x_num2
Follow me on Social Media:
R code of this video:
x_fac <- factor(c(4, 8, 4, 6, 6, 8))
x_fac
x_num1
x_char
x_num2
Follow me on Social Media: