write.lassie: Write a lassie object

View source: R/lassie.R

write.lassieR Documentation

Write a lassie object

Description

Writes lassie object to a file in a table structured format.

Usage

write.lassie(
  x,
  file,
  sep = ",",
  dec = ".",
  col.names = TRUE,
  row.names = FALSE,
  quote = TRUE,
  ...
)

Arguments

x

lassie S3 object.

file

character string naming a file.

sep

the field separator string. Values within each row of x are separated by this string.

dec

the string to use for decimal points in numeric or complex columns: must be a single character.

col.names

either a logical value indicating whether the column names of x are to be written along with x, or a character vector of column names to be written. See the section on ‘CSV files’ for the meaning of col.names = NA.

row.names

either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written.

quote

a logical value (TRUE or FALSE) or a numeric vector. If TRUE, any character or factor columns will be surrounded by double quotes. If a numeric vector, its elements are taken as the indices of columns to quote. In both cases, row and column names are quoted if they are written. If FALSE, nothing is quoted.

...

other arguments passed on to write.table.

See Also

lassie, permtest, chisqtest


oliviermfmartin/zebu documentation built on Sept. 1, 2023, 9:12 p.m.