writeftable: Write 'ftable'

View source: R/utils2.R

writeftableR Documentation

Write ftable

Description

Write an ftable as a matrix.

Usage

writeftable(x, quote = FALSE, digits = getOption("digits"))

Arguments

x

an object of class ftable

quote, digits

see format.ftable

Examples

## basic usage
writeftable(ftable(1))
writeftable(ftable(mtcars$gear))

## tables write nicer with names
writeftable(ftable(gear = mtcars$gear))
writeftable(ftable(Titanic, row.vars = 1:3))


raredd/rawr documentation built on March 4, 2024, 1:36 a.m.