Define the following vector:
x <- c("1", "3", "5")
We have seen the as.numeric or as.character function before in order to convert (or cast) the type of a vector.
Now convert vector x to a vector of integers and store your result in the object x_int
.
You may want to use Google (or any other search engine) to find the correct function to achieve this.