Learn R Programming

ztable (version 0.2.2)

ztable.mytable: Make ztable from object mytable

Description

Make ztable from object mytable

Usage

# S3 method for mytable
ztable(x, digits = NULL, ...)

Arguments

x

An object of mytable

digits

Numeric vector of length equal to one (in which case it will be replicated as necessary) or to the number of columns of the resulting table

...

arguments to be passed to ztable_sub

Examples

Run this code
# NOT RUN {
require(moonBook)
res=mytable(sex~.,data=acs)
z=ztable(res)
z
# }

Run the code above in your browser using DataLab