manip_df

0th

Percentile

Data manipulation for data frames.

Data manipulation for data frames.

Usage
# S3 method for tbl_df
arrange(.data, ...)

# S3 method for tbl_df filter(.data, ...)

# S3 method for tbl_df mutate(.data, ...)

# S3 method for tbl_df summarise(.data, ...)

# S3 method for tbl_df select(.data, ...)

Arguments
.data
a data frame
...
variables interpreted in the context of .data
Aliases
  • arrange.tbl_df
  • filter.tbl_df
  • manip_df
  • mutate.tbl_df
  • select.tbl_df
  • summarise.tbl_df
Examples
if (require("hflights")) {
filter(hflights, Month == 1, DayofMonth == 1, Dest == "DFW")
head(select(hflights, Year:DayOfWeek))
summarise(hflights, delay = mean(ArrDelay, na.rm = TRUE), n = length(ArrDelay))
head(mutate(hflights, gained = ArrDelay - DepDelay))
head(arrange(hflights, Dest, desc(ArrDelay)))
}
Documentation reproduced from package dplyr, version 0.1.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.