typeSafeUnlist {pivottabler}R Documentation

Unlist a list into a vector in a type-safe way where possible.

Description

typeSafeUnlist tries to preserve data types in a way that the base::unlist function does not for Date, POSIXct and POSIXlt values.

Usage

typeSafeUnlist(x)

Arguments

x

A list to convert to a vector.

Details

If a list containing mixed types is specified, then typeSafeUnlist falls back to using base::unlist.

Value

A vector containing the values from x.


[Package pivottabler version 1.5.5 Index]