1/13
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
FRONT
BACK
What package allows you to throw errors if a variable is checked, and found to be an undesired data type?
assertive
What tidyverse package allows you to better manipulate strings? What function in this package allows you to remove parts of strings that match a specified pattern?
stringr
str_remove()
How do you covert a factor to a numeric?
as.numeric(as.character(factorName))
What are the types of qualitative and quantitative data? Define them
Nominal: Red, blue, Yellow
Ordinal: First, Second, Third
Discrete: 1, 2, 3, 4
Continuous: 1.0, 2.0, 3.0, 4.0
What data type should a variable represented by discrete numbers be?
Factor
In the data checking package, what function throws an error if any value in a series falls outside of a range?
assert_all_are_in_closed_range()
What function replaces data in dplyr?
replace()
In the data checking package, what function checks that all dates in a set are from the past?
assert_all_are_in_past()
What function gives a vector of booleans, with each TRUE value representing a duplicated row?
duplicated()
What does the sum of a boolean vector return?
It returns the number of true values in the vector
What dplyr function returns a dataframe without duplicates?
distinct()
FIRST PASS
FIRST PASS
SECOND PASS
SECOND PASS