dplyr

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

13 Terms

1
New cards

pipe operator

%>%

2
New cards

This function selects a subset of rows based on logical conditions applied to column values.

filter ()

3
New cards

filter OR

|

4
New cards

It divides the data frame into groups based on one or more variables, allowing subsequent operations (like `summarise()`) to be performed independently within each group

group_by ()

5
New cards

This verb *collapses a group of rows into a single row*, typically used to compute summary statistics.

summarize()

6
New cards

This function *adds new columns* that are derived from existing columns, or it can modify the values of existing columns.

mutate ()

7
New cards

This command chooses rows based on their *integer locations*.

slice ()

8
New cards

This verb *reorders the rows* of a data frame based on the values of one or more columns

arrange ()

9
New cards

order a column in descending order

arrange (desc(XXX))

10
New cards

randomly selects rows based on n = x or prop = x

slice_sample ()

11
New cards

This function changes *which columns are included* in the data frame

select ()

12
New cards

select columns NOT having this title

select (!(XXX, YYY))

13
New cards

This verb *changes the name of columns* while preserving all other columns in the data frame.

rename ()