Learn R Programming

sasLM (version 0.6.0)

tsum: Table Summary

Description

Summarize a continuous dependent variable with or without independent variables.

Usage

tsum(Formula=NULL, Data=NULL, ColNames=NULL, MaxLevel=30, ...)

Arguments

Formula

a conventional formula

Data

a data.frame or a matrix

ColNames

If there is no Formula, this will be used.

MaxLevel

More than this will not be handled.

...

arguments to be passed to tsum0, tsum1, tsum2, or tsum3

Value

A data.frame of descriptive summarization values.

Details

A convenient summarization function for a continuous variable. This is a wrapper function to tsum0, tsum1, tsum2, or tsum3.

See Also

tsum0, tsum1, tsum2, tsum3

Examples

Run this code
# NOT RUN {
tsum(lh)
t(tsum(CO2))
t(tsum(uptake ~ Treatment, CO2))
tsum(uptake ~ Type + Treatment, CO2)
print(tsum(uptake ~ conc + Type + Treatment, CO2), digits=3)
# }

Run the code above in your browser using DataLab