1/12
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
pipe operator
%>%
This function selects a subset of rows based on logical conditions applied to column values.
filter ()
filter OR
|
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 ()
This verb *collapses a group of rows into a single row*, typically used to compute summary statistics.
summarize()
This function *adds new columns* that are derived from existing columns, or it can modify the values of existing columns.
mutate ()
This command chooses rows based on their *integer locations*.
slice ()
This verb *reorders the rows* of a data frame based on the values of one or more columns
arrange ()
order a column in descending order
arrange (desc(XXX))
randomly selects rows based on n = x or prop = x
slice_sample ()
This function changes *which columns are included* in the data frame
select ()
select columns NOT having this title
select (!(XXX, YYY))
This verb *changes the name of columns* while preserving all other columns in the data frame.
rename ()