Learn R Programming

cleanEHR (version 0.1)

table1: Produce the item specified table one.

Description

Produce the item specified table one.

Usage

table1(demg, names, return.data = FALSE)

Arguments

demg

demographic table created by sql.demographic.table()

names

character string. Short names of data items, e.g. h_rate.

return.data

logical, FALSE: printing the pander table, TRUE: return the table but not print out the pander table.

Value

if return.data is TRUE, return data.table