Related Articles
factor (in R)
Factor (in R) is a type of R object that is a categorical variable.
confounding variable
Confounding variable is a variable that, though not measured, causes variation in both the explanatory variable and the outcome variable; also know as a "lurking variable" or a "third variable".
outcome variable
Outcome variable is a variable whose variation we are trying to explain.
explanatory variable
Explanatory variable is a variable we use to explain variation in an outcome variable.
as.numeric()
The as.numeric() function will convert a factorial value into a numeric value. For instance, if you need to change a factor such as `Sex` into numeric values, the as.numeric() function will assign each group a number and convert it from being coded ...