Related Articles
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 ...
R function
R functions are commands in R that do specific tasks; these are often written by people in the R community.
factor (in R)
Factor (in R) is a type of R object that is a categorical variable.
object (in R)
R objects are ways of saving information in R. R objects can be individual values (e.g., MyNumber <- 3) or a vector (e.g., MyVector <- c(1:10)) or even a data frame (e.g., MyCopyOfFingers <- Fingers).
Using the R Sandbox
The R Sandbox The R Sandbox is a separate R window you can use to experiment with R code and play around with ideas from the course. It comes pre-loaded with the base R packages and all of the packages and datasets we reference in the textbook. ...