as_list_col {rvec}R Documentation

Convert to List Column

Description

Convert an rvec or matrix to a list that can be used as a list column in a data frame.

Usage

as_list_col(x)

## S3 method for class 'rvec'
as_list_col(x)

## S3 method for class 'matrix'
as_list_col(x)

Arguments

x

An rvecs or matrix.

Value

A list:

See Also

Examples

l <- list(1:3,
          4:6)
r <- rvec(l)
as_list_col(r)

[Package rvec version 0.0.6 Index]