outXT: Create LaTeX or CSV versions of an Object Produced by...

Description Usage Arguments Value Author(s)

Description

outXT takes the output from CrossTable in the gmodels package and produces either LaTeX code or CSV file that can be imported into word processing software.

Usage

1
2
	outXT(obj, count=TRUE, prop.r = TRUE, prop.c = TRUE, prop.t = TRUE, 
		col.marg=TRUE, row.marg=TRUE, digits = 3, type = "word", file=NULL)

Arguments

obj

A list returned by CrossTable from the gmodels package.

count

Logical indicating whether the cell frequencies should be returned.

prop.r

Logical indicating whether the row proportions should be returned.

prop.c

Logical indicating whether the column proportions should be returned.

prop.t

Logical indicating whether the cell proportions should be returned.

col.marg

Logical indicating whether the column marginals should be printed.

row.marg

Logical indicating whether the row marginals should be printed.

digits

Number of digits to use in printing the proportions.

type

String where word indicates a CSV file will be produced and latex indicates LaTeX code will be generated.

file

Connection where the file will be written, if NULL the output will only be written to the console

.

Value

A file containing LaTeX Code or CSV data to make a table

Author(s)

Dave Armstrong (UW-Milwaukee, Department of Political Science)



Search within the DAMisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.