lhtab: lhtab funtion

Description Usage Arguments Examples

Description

Make simple table. Use data frame created by addvar2

Usage

1
lhtab(data, vh, value, ord = NULL, save.name = NULL, output = "csv")

Arguments

data

Datframe

vh

Vertical and horizontal headers. ex: "Trt+Agegr~Param"

value

Values. Example: c("mean","SD","Mean (CV)")

ord

Order variables. ex: ":Trt,:Agegr"

save.name

Save table as word document. Enter the file name: ex "test.docx"

output

output="csv" for csv output, else output will be in FlexTable format

Examples

1

leonpheng/lhtool documentation built on Dec. 16, 2019, 3:52 a.m.