convert_tables: Convert tables into a single column in a dataframe.

View source: R/convert_tables.R

convert_tablesR Documentation

Convert tables into a single column in a dataframe.

Description

Accepts a table or matrix or a list of tables and matrices and converts them into dataframe columns.

Usage

convert_tables(tab, na_omit = TRUE)

Arguments

tab

A table/matrix or a list of tables/matrices.

na_omit

Logical; if true, will remove rows with NA.

Value

A dataframe column.

Examples

file <- system.file(
  "extdata/input_files",
  file = "test.xlsx",
  package = "quicR"
)
tabs <- organize_tables(file)
convert_tables(tabs)


quicR documentation built on April 3, 2025, 11:20 p.m.