should_unlist {matsindf}R Documentation

Tell whether a column can be unlisted

Description

When evaluating each row of a data frame in matsindf_apply(), the result will be a tibble with list columns. This function tells whether a column can be unlisted. This is internal helper function and should not be called externally.

Usage

should_unlist(this_col)

Arguments

this_col

The column to be checked. Or a data.frame, in which case every column is checked.

Value

A boolean. TRUE if the column can be unlisted, FALSE otherwise. When this_col is a data.frame, a named boolean vector, one entry for each column.


[Package matsindf version 0.4.8 Index]