Learn R Programming

tsibble (version 0.5.3)

split_by: Split a data frame into a list of subsets by variables

Description

Split a data frame into a list of subsets by variables

Usage

split_by(x, ...)

Arguments

x

A data frame.

...

A list of unquoted variables, separated by commas, to split a dataset.

Examples

Run this code
# NOT RUN {
pedestrian %>% 
  split_by(Sensor)
# }

Run the code above in your browser using DataLab