Learn R Programming

SocEpi (version 1.0.0)

subset_q: Subset data

Description

Internal use only, allows subsetting within another function (for use of NSE in functions).

Usage

subset_q(df, condition, variables)

Arguments

df

Data frame to be subsetted.

condition

Subsetting condition, such as which rows to select.

variables

Variables to include in subset.

Value

A smaller data frame of subsetted data.