dplyr (version 0.1.1)

manip_df: Data manipulation for data frames.

Description

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

Examples

Run this code
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)))
}

Run the code above in your browser using DataCamp Workspace