SplitVectorToList: Split vector by unique values of a factor

View source: R/list.R

SplitVectorToListR Documentation

Split vector by unique values of a factor

Description

Splits a vector values by unique values of another vector, groups.

Usage

SplitVectorToList(values, groups)

Arguments

values

A vector to be split.

groups

A vector which determines how values is split; must have same length as values and will be coerced to factor using as.factor.

Value

A list.


NumbersInternational/flipTransformations documentation built on Feb. 26, 2024, 6:43 a.m.