Learn R Programming

nanny (version 0.1.8)

subset: Extract selected-column-wise information

Description

subset() takes as imput a `tbl` and returns a `tbl` with only selected-column-related columns

Usage

subset(.data, .column)

# S4 method for spec_tbl_df subset(.data, .column)

# S4 method for tbl_df subset(.data, .column)

# S4 method for tbl subset(.data, .column)

Arguments

.data

A `tbl`

.column

The name of the column of interest

Value

A `tbl` object

A `tbl` object

A `tbl` object

A `tbl` object

Details

maturing

This functon extracts only selected-column-related information for downstream analysis (e.g., visualisation). It is disruptive in the sense that it cannot be passed anymore to nanny function.

Examples

Run this code
# NOT RUN {
subset(mtcars_tidy,car_model)


# }

Run the code above in your browser using DataLab