ftable2data.frame: Convert ftable to data.frame

Description Usage Arguments Details Value Author(s) References Examples

Description

Convert ftable to data.frame As Displayed

Usage

1

Arguments

x

ftable

...

ignored

Details

as.data.frame.ftable does indeed convert an ftable to data.frame, but it gives a stacked result. Use this function to give something more like what is displayed at the prompt (suitable for passing to latex).

Value

data.frame

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

Examples

1
2
3
ftable(mtcars[c("cyl", "vs", "am", "gear")])
as.data.frame(ftable(mtcars[c("cyl", "vs", "am", "gear")]))
ftable2data.frame(ftable(mtcars[c("cyl", "vs", "am", "gear")]))

metrumrg documentation built on May 2, 2019, 5:55 p.m.