filter {m61r}R Documentation

filter a data.frame

Description

Filter rows of a data.frame with conditions.

Usage

filter_(df, subset = NULL)

Arguments

df

data.frame

subset

formula that describes the conditions

Value

The function returns an object of the same type as df. Properties:

Examples


tmp <- filter_(CO2,~Plant=="Qn1")
head(tmp)

tmp <- filter_(CO2,~Type=="Quebec")
head(tmp)


[Package m61r version 0.0.3 Index]