DATA 205 02_INTRODUCTION TO DATA ANALYTICS LAB HOMEWORK Question Title * 1. Your First and Last Name Question Title * 2. Your Student ID Question Title * 3. True or False. We make things happen in R by using FUNCTIONS. True False Question Title * 4. What happens when you type the name of a FUNCTION in R and click Run? Nothing R returns the code for that function R runs the function Question Title * 5. True or False. The input that you give a FUNCTION between the parentheses is called an ARGUMENT. True False Question Title * 6. What happens when you place a question mark before the name of a FUNCTION and click Run? You get an error message. R returns the code for that function. R opens a help page about the function. Question Title * 7. True or False. Some ARGUMENTS are OPTIONAL while others are REQUIRED. TRUE FALSE Question Title * 8. True or False. ARGUMENTS must be in a specified order unless they are labeled? TRUE FALSE Question Title * 9. If you get the error message “argument x is missing, with no default,” you have made which of the following errors? You forgot to include parentheses after your function You forgot to specify a required argument You used the wrong function Question Title * 10. True or False. <- is an ASSIGNMENT OPERATOR in R. It stores what’s on the right of the arrow in the name specified on the left. True False Question Title * 11. True or False. R stores every value in a LIST. TRUE FALSE Question Title * 12. Which of the following is true about NUMERIC vectors? (select ALL that apply) They contain numbers. They may contain negative signs. They may contain decimal points. Their values are surrounded by quotation marks. They can be used for mathematical operations. Question Title * 13. Which of the following is true about CHARACTER vectors? (select ALL that apply) They may contain numbers, letters, or other symbols. Their values are surrounded by quotation marks. They can be used for mathematical operations. Question Title * 14. Can VECTORS contain more than one type of data? Yes, vectors can combine different data types. No, R will record the data as belonging to the same type, usually a character string. Question Title * 15. Can LISTS contain more than one type of data? Yes, lists can combine vectors with different types of data. No, R will record the data as belonging to the same type, usually a character string. Question Title * 16. True or False. R has a package system that allows you to add R software packages to your workspace to use the functions in them. True False Done