powered by
Summarize a continuous dependent(y) variable without any independent(x) variable.
tsum0(d, y, e=c("Mean", "SD", "N"), repl=list(c("length"), c("n")))
A vector of summarized values
a data.frame or matrix with colnames
y variable name, a continuous variable
a vector of summarize function names
list of strings to replace after summarize. The length of list should be 2, and both should have the same length.
Kyun-Seop Bae k@acr.kr
A convenient summarization function for a continuous variable.
tsum, tsum1, tsum2, tsum3
tsum
tsum1
tsum2
tsum3
tsum0(CO2, "uptake") tsum0(CO2, "uptake", repl=list(c("mean", "length"), c("Mean", "n")))
Run the code above in your browser using DataLab