Learn R Programming

ztable (version 0.2.3)

totalLeft: Arrange total column to the left

Description

Arrange total column to the left

Usage

totalLeft(z)

Arguments

z

An object of class ztable.mytable or ztable.cbind.mytable

Examples

Run this code
# NOT RUN {
require(moonBook)
require(ztable)
require(magrittr)
mytable(sex~.,data=acs,show.total=TRUE) %>% ztable() %>% totalLeft()
# }
# NOT RUN {
mytable(sex+Dx~.,data=acs,show.total=TRUE) %>% ztable %>% totalLeft
# }

Run the code above in your browser using DataLab