manip_ffdf: Data manipulation for ffdf.

Description Usage Arguments Examples

Description

Data manipulation for ffdf.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## S3 method for class 'grouped_ffdf'
rename_(.data, ..., .dots)

## S3 method for class 'ffdf'
filter_(.data, ..., .dots)

## S3 method for class 'tbl_ffdf'
filter_(.data, ..., .dots)

## S3 method for class 'ffdf'
summarise_(.data, ..., .dots)

## S3 method for class 'tbl_ffdf'
summarise_(.data, ...)

## S3 method for class 'ffdf'
mutate_(.data, ..., .dots, inplace = FALSE)

## S3 method for class 'tbl_ffdf'
mutate_(.data, ...)

## S3 method for class 'ffdf'
arrange_(.data, ..., .dots)

## S3 method for class 'tbl_ffdf'
arrange_(.data, ...)

## S3 method for class 'ffdf'
select_(.data, ..., .dots)

## S3 method for class 'tbl_ffdf'
select_(.data, ..., .dots)

## S3 method for class 'ffdf'
rename_(.data, ..., .dots)

## S3 method for class 'tbl_ffdf'
rename_(.data, ..., .dots)

## S3 method for class 'ffdf'
slice_(.data, ..., .dots)

## S3 method for class 'tbl_ffdf'
slice_(.data, ..., .dots)

do.ffdf(.data, ...)

do.tbl_ffdf(.data, ...)

Arguments

.data

a ffdf

...

variables interpreted in the context of .data

inplace

if FALSE (the default) the data frame will be copied prior to modification to avoid changes propagating via reference.

.env

The environment in which to evaluate arguments not included in the data. The default should suffice for ordinary usage.

Examples

1
2
3
4
5
6
7
8
if (require("hflights")) {
hflights2 <- tbl_ffdf(hflights)
filter(hflights2, Month == 1, DayofMonth == 1, Dest == "DFW")
head(select(hflights2, Year:DayOfWeek))
summarise(hflights2, delay = mean(ArrDelay, na.rm = TRUE), n = length(ArrDelay))
head(mutate(hflights2, gained = ArrDelay - DepDelay))
head(arrange(hflights2, Dest, desc(ArrDelay)))
}

edwindj/ffbase2 documentation built on May 15, 2019, 11:05 p.m.