You have the following data frame called pets: first_name last_name age favorite_toy Shane Johnson 17 bone Sonora Smith 12 hair tie Arianna Garcia 9 laser Pearl Krabs 2 box What does pets[2:3,4] return?
Blog
Match the scenario to the visualization that would best answ…
Match the scenario to the visualization that would best answer the question/ situation. FYI – the axes values removed on purpose, so don’t rely on that to determine the right type of visualization.
We are conducting a study to see if weather temperature affe…
We are conducting a study to see if weather temperature affects ice cream sales revenue ($). Which variable is the independent variable?
Match the code to the visualization
Match the code to the visualization
Create a function that returns the volume of a rectangular p…
Create a function that returns the volume of a rectangular prism given the width, length, and height without using any built-in functions or package functions.
Match the following code to the graphs:
Match the following code to the graphs:
Is the following code valid (will it not throw an error)? Y…
Is the following code valid (will it not throw an error)? You can assume the class variable is a character data type aka categorical.
What fields can benefit from data science?
What fields can benefit from data science?
Create a function that returns the first n rows and first m…
Create a function that returns the first n rows and first m columns of a data frame. Set the default to n=5 and m =5. You can assume the input will have at least 5 rows and 5 columns. DO NOT any built-in function like tail() or slice().
Bonus: Look at the blue data. What might the R-squared value…
Bonus: Look at the blue data. What might the R-squared value be close too?