split_: Fast Split

Description Usage Arguments

View source: R/split_.R

Description

A faster version of split – this divides the data in the vector x into the groups defined by f.

Usage

1
split_(x, f, na.last = TRUE)

Arguments

x

A vector containing values to be divided into groups.

f

A grouping variable defining the grouping.

na.last

Boolean, if TRUE then NA elements are split as well. Note that we diverge from split in that we allow NA elements to be split on.


kevinushey/Kmisc documentation built on May 20, 2019, 9:08 a.m.