simplify: Transform Lists to Vectors

Description Usage Arguments Details Value Note See Also

View source: R/CTMCutils_helpers.R

Description

Takes objects which are lists but are conceptually vectors, and transforms them into vector objects.

Usage

1
simplify(simpleList)

Arguments

simpleList

A list each of whose components is a (numeric) vector of length 1.

Details

simpleList is a list each of whose components is a (numeric) vector of length1; simplify returns a vectorized form of this list.

Value

numeric vector whose length is the number of components of simpleList.

Note

The base R unlist function probably makes this redundant.

See Also

unlist


DOBAD documentation built on May 2, 2019, 3:04 a.m.