: A data analyst wants to assign the value 50 to the variable daily_dosage. Which of the following types of operators will they need to write that code? View
: In the code sales_1 <- (3500.00 * 12), the analyst uses an assignment (<-) and an arithmetic (*) operator. The assignment operator assigns the calculated value in parentheses to the variable sales_1 and the arithmetic operator multiplies the values in parentheses to complete the calculation. View
: You want to create a vector with the values 21, 12, 39, in that exact order. After specifying the variable, what R code chunk allows you to create the vector? View
: A data analyst is assigning a variable to a value in their company’s sales dataset for 2020. Which variable name uses the correct syntax? View
: A data analyst previously created a series of nested functions that carry out multiple operations on some data in R. The analyst wants to complete the same operations but make the code easier to understand for their stakeholders. Which of the following can the analyst use to accomplish this? View
: Which of the following variables have names that follow widely accepted naming convention rules? Select all that apply. View
: You want to create a vector with the values 43, 56, 12 in that exact order. After specifying the variable, what R code chunk allows you to create this vector? View
: Examples of variable names that can be used in R are autos_5 and utility2. Variable names should start with a letter and can also contain numbers and underscores. View