subset-methods: Extract selected-column-wise information

Description Usage Arguments Details Value Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
subset(.data, .column)

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

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

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

Arguments

.data

A 'tbl'

.column

The name of the column of interest

Details

\lifecycle

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.

Value

A 'tbl' object

A 'tbl' object

A 'tbl' object

A 'tbl' object

Examples

1
subset(mtcars_tidy,car_model)

nanny documentation built on July 1, 2020, 10:20 p.m.