df.as.text: Make a data frame into a delimited text Table

View source: R/df.as.text.R

df.as.textR Documentation

Make a data frame into a delimited text Table

Description

collapse a data frame into a tab-separated text table, suitable for a .tsv file. Particularly useful for stringing multiple data frames together into a single report.

Usage

df.as.text(df, sep = "\t")

Arguments

df

a data frame to convert to a vector

sep

a delimiter. Defaults to tab-separated text.

Value

a character vector with one entry per row of the data frame. Each row is collapsed to a single entry with variables separated by tabs. NA and Inf values are replaced with blanks.


crazybilly/ucbudar documentation built on July 15, 2024, 5:03 p.m.