Q: 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? or Q: A data analyst is tagging a number in the 2020 sales dataset of their organization with a certain variable. What variable name makes use of the proper syntax? -sales-2020 2020_sales sales_2020 _2020sales Explanation: “sales_2020”…
-
-
Packages installed in RStudio are called from CRAN. CRAN is an online archive with R packages and other R-related resources.
Q: Packages installed in RStudio are called from CRAN. CRAN is an online archive with R packages and other R-related resources. or Q: CRAN is the source from which RStudio installs its packages. R packages and other materials are available online in the CRAN archive. True False Explanation: That’s just right! CRAN (Comprehensive R Archive Network) is indeed an online repository…
-
In R, what includes reusable functions and documentation about how to use the functions?
Q: In R, what includes reusable functions and documentation about how to use the functions? or Q: What does it mean to have reusable functions in R together with use documentation? Pipes Comments Packages Vectors Explanation: A “package” in R is a collection of reusable functions and documentation explaining how those functions may be put to use. R packages are bundled…
-
An analyst comes across dates listed as strings in a dataset. For example, December 10th, 2020. To convert the strings to a date/time data type, which function should the analyst use?
Q: An analyst comes across dates listed as strings in a dataset. For example, December 10th, 2020. To convert the strings to a date/time data type, which function should the analyst use? or Q: One of the datasets an analyst encounters has dates labeled as strings. Take December 10, 2020, for instance. Which function ought the analyst to use to…
-
What is the name of the popular package archive dedicated to supporting R users authentic, validated code?
Q: What is the name of the popular package archive dedicated to supporting R users authentic, validated code? or Q: What is the name of the well-known package archive that supports R users with verified, legitimate code? The CRAN archive The RStudio website The tidyverse Python Explanation: CRAN, which stands for Comprehensive R Archive Network, is a well-known package archive that…
-
Fill in the blank: When creating a variable for use in R, your variable name should begin with _____.
Q: Fill in the blank: When creating a variable for use in R, your variable name should begin with _____. or Q: Complete the blank: Your variable name should start with _____ when you create one in R. an operator a letter an underscore a number Explanation: When you are setting up a variable in R for usage, the name of…
-
If you use the mdy() function in R to convert the string “April 10, 2019”, what will return when you run your code?
Q: If you use the mdy() function in R to convert the string “April 10, 2019”, what will return when you run your code? or Q: What will happen when you execute your code after converting the string “April 10, 2019” using R’s mdy() function? “4.10.19” “4/10/2019” “2019-10-4” “2019-4-10” Explanation: After this piece of code has been executed, the value of…
-
A data analyst wants to create functions, documentation, sample data sets, and code test that they can share and reuse in other projects. What should they create to help them accomplish this?
Q: A data analyst wants to create functions, documentation, sample data sets, and code test that they can share and reuse in other projects. What should they create to help them accomplish this? or Q: A data analyst seeks to provide shareable and reusable functions, documentation, sample data sets, and code tests for use in other projects. What should they…
-
A data analyst needs a system of packages that use a common design philosophy for data manipulation, exploration, and visualization. What set of packages fulfills their need?
Q: A data analyst needs a system of packages that use a common design philosophy for data manipulation, exploration, and visualization. What set of packages fulfills their need? or Q: A set of packages that follow a similar design philosophy are necessary for data manipulation, exploration, and visualization for a data analyst. Which package combination best suits their needs? Base…
-
What function is used to create vectors in the R programming language?
Q: What function is used to create vectors in the R programming language? or Q: With the R programming language, which function are vectors created? v() c() vector() combine() Explanation: The numbers 1, 2, 3, 4, and 5 are inserted into a new numeric vector that has been given the name my_vector. To generate vectors with a wide range of possible…