list_column_of_vectors: Wrapper to create a list column with vectors in parser...

View source: R/utils.R

list_column_of_vectorsR Documentation

Wrapper to create a list column with vectors in parser results

Description

Mainly used for documenting the parser code.

Usage

list_column_of_vectors(x, replace_null = T)

Arguments

x

Vector

replace_null

True if NULL should be replaced with NA

Value

List containing x

Examples

library(tibble)
tb <- tibble(i = 1, j = list_column_of_vectors(1:10))
tb
tb$j[[1]]

jirilukavsky/jspsychread documentation built on Jan. 29, 2023, 5:35 p.m.