subset.data.frame: Extended subset function

Description Usage Arguments Value Examples

Description

Like subset but allowing any form of indexing for the subset argument, not just logical.

Usage

1
2
## S3 method for class 'data.frame'
subset(x, subset, select, drop = FALSE, ...)

Arguments

x, subset, select, drop

As for subset

...

additional arguments passed on

Value

A data frame, as for subset

Examples

1
subset(iris, 1:10)

BillVenables/WWRCourse documentation built on Jan. 31, 2021, 4:22 p.m.