Learn R Programming

addinexamples (version 0.1.0)

subsetAddin: Subset a Data Frame.

Description

Interactively subset a data.frame. The resulting code will be emitted as a call to the subset function.

Usage

subsetAddin()

Arguments

Details

This addin can be used to interactively subset a data.frame. The intended way to use this is as follows:

1. Highlight a symbol naming a data.frame in your R session, e.g. mtcars, 2. Execute this addin, to interactively subset it.

When you're done, the code performing this operation will be emitted at the cursor position.