Learn R Programming

nanny (version 0.1.8)

nest_subset: Nest according to selected-column-wise information

Description

nest_subset() takes as imput a `tbl` and returns a nested `tbl` according to only selected-column-related columns

Usage

nest_subset(.data, ..., .names_sep = NULL)

# S4 method for spec_tbl_df nest_subset(.data, ..., .names_sep = NULL)

# S4 method for tbl_df nest_subset(.data, ..., .names_sep = NULL)

Arguments

.data

A `tbl`

...

The name of the columns of interest

.names_sep

Deprecated by tidyr

Value

A `tbl` object

A `tbl` object

A `tbl` object

Details

maturing

This function 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 {
nest_subset(mtcars_tidy,data = -car_model)


# }

Run the code above in your browser using DataLab