tsum: Table Summary

View source: R/tsum.R

tsumR Documentation

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

Details

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

Value

A data.frame of descriptive summarization values.

Author(s)

Kyun-Seop Bae k@acr.kr

See Also

tsum0, tsum1, tsum2, tsum3

Examples

  tsum(lh)
  t(tsum(CO2))
  t(tsum(uptake ~ Treatment, CO2))
  tsum(uptake ~ Type + Treatment, CO2)
  print(tsum(uptake ~ conc + Type + Treatment, CO2), digits=3)

sasLM documentation built on Oct. 2, 2024, 9:06 a.m.