Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

writeColumns

Write Data to a File Column-wise


Description

Write data.frame or matrix to a text file, using white space padding to keep columns aligned as in print.

Usage

writeColumns(x, file = "", row.names = TRUE, col.names = TRUE)

Arguments

x

the object to be written, preferably a matrix or data frame. If not, it is attempted to coerce x to a matrix.

file

a character string naming a file.

row.names

a logical value indicating whether the row names of x are to be written along with x.

col.names

a logical value indicating whether the column names of x are to be written along with x.


sequoia

Pedigree Inference from SNPs

v2.3.3
GPL-2
Authors
Jisca Huisman [aut, cre]
Initial release
2021-04-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.