tsum0: Table Summary 0 independent(x) variable

View source: R/tsum0.R

tsum0R Documentation

Table Summary 0 independent(x) variable

Description

Summarize a continuous dependent(y) variable without any independent(x) variable.

Usage

  tsum0(d, y, e=c("Mean", "SD", "N"), repl=list(c("length"), c("n")))

Arguments

d

a data.frame or matrix with colnames

y

y variable name, a continuous variable

e

a vector of summarize function names

repl

list of strings to replace after summarize. The length of list should be 2, and both should have the same length.

Details

A convenient summarization function for a continuous variable.

Value

A vector of summarized values

Author(s)

Kyun-Seop Bae k@acr.kr

See Also

tsum, tsum1, tsum2, tsum3

Examples

  tsum0(CO2, "uptake")
  tsum0(CO2, "uptake", repl=list(c("mean", "length"), c("Mean", "n")))

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