
8. Which signs can be used to create variables in R? And which one is better to use (best practice)? Hint: This is an attention check question. a) <? b) = c) == d) %>% Data types 9. You will be provided with the following dataset. Identify the type of each variable (Categorical or Quantitative) and explain your choice. \#\# Fake data data <? data.frame( Gender =c("Male", "Female", "Female", "Male", "Male"), Age =c(25,30,22,29,31), Income =c(50000,60000,55000,58000,62000)) \#\#ake data data <? data.frame ( Gender = c("Male", "Female", "Female", "Male", "Male"), Age =c(25,30,22,29,31), Income =c(50000,60000,55000,58000,62000)) 10. Using the function learned from the lecture, discover the data type of each one of following variables 11. Create a vector made out of the following elements/words and then discover the data type of the vector you have created. Elements: 'United States', 'Saudi Arabia', 'Brazil', 'Canada', 'Portugal' Vectors 12. Create a numeric vector and named it 'nums' with the numbers from 1 to 10. 13. Create two numeric vectors: 'vec_1' with values 1,2,3 and 'vec_2' with values 4,5,6. Now, perform element-wise addition (+) between 'vec_1' and 'vec_2'. Explain how did R perform the sum of the vectors?