Learn R Programming

patientProfilesVis (version 2.0.8)

getSplitVectorByInt: Split/combine a vector of size(s) to have a fixed combined size

Description

Split/combine a vector of size(s) to have a fixed combined size

Usage

getSplitVectorByInt(sizes, max = NULL)

Value

vector of same length as sizeVect, containing corresponding class

Arguments

sizes

vector with size

max

integer with maximum combined size in output, Inf by default.

Author

Laure Cougnaud