Data Manipulation with dplyr

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:01 PM on 7/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

FRONT

BACK

2
New cards

What function allows you to see the first few values from each variable in a dataset?

glimpse()

3
New cards

What function allows you to see the portion of a dataset that contains variables of your choosing?

select()

4
New cards

How do you discard undesired variables from a dataset using mutate()?

mutate(keep1, keep2, keep3, .keep = “none”)

5
New cards

What function creates a modified dataset that counts the types of a specific variable OR the summation of another variable associated with the types of a specific variable? How do you select the variables and order the secondary variable?

count()

count(var1, wt = var2, sort = TRUE)

6
New cards

What function obtains the number of rows of the currently referenced dataset?

n()

7
New cards

What function undoes a group_by()?

ungroup()

8
New cards

When does summarize not get rid of non referenced columns?

When inside of a group_by()

9
New cards

What functions return a number of the highest or lowest values of a specified variable, as well as their associated variables?

slice_max()

slice_min()

10
New cards

How do you create a modified dataset with a range of variables from the original?

select(var1:var2)

11
New cards

How do you create a modified dataset with variables from the original that contain a key word? That begins with a key word?

select(contains(“keyword“))

select(starts_with(“keyword“))

12
New cards

Let’s say you want to select a part of a selection. What type of function do you use?

A select helper function

13
New cards

How do you create a modified table with one column removed?

select(-column_name)

14
New cards

FIRST PASS

FIRST PASS

15
New cards

SECOND PASS

SECOND PASS