fixedwidth: Apply Fixed-width Formatting to a Data Frame

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Generic, with a method for data.frame that right-justifies headers and columns, padding with spaces.

Usage

1
2
## S3 method for class 'data.frame'
fixedwidth(x, ...)

Arguments

x

a data.frame

...

extra arguments, ignored

Details

There does not seem to be a way to get write.table to produce fixed-width output. fixedwidth.data.frame gives essentially the same result as print.data.frame. Columns and headers are padded, suitable for output to a file using the defaults for write.table (sep=' ').

Value

data.frame; all columns are character

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

  • write.table

Examples

1


Search within the metrumrg 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.