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

Description Usage Arguments Value

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

Description

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

Usage

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

Arguments

df

a data frame to convert to a vector

sep

a delimiter. Defaults to tab-seperated text.

Value

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


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.