subset-methods: Extract selected-column-wise information

subsetR Documentation

Extract selected-column-wise information

Description

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

Usage

subset(.data, .column)

## S3 method for class 'spec_tbl_df'
subset(.data, .column)

## S3 method for class 'tbl_df'
subset(.data, .column)

## S3 method for class '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


subset(mtcars_tidy,car_model)



stemangiola/nanny documentation built on July 29, 2023, 1:23 a.m.