| tsum0 | R Documentation |
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")))
d |
a |
y |
y variable name, a continuous variable |
e |
a vector of summary function names |
repl |
a list of strings to replace after summarization. The length of the list should be 2, and both elements should have the same length. |
A convenient summarization function for a continuous variable.
A vector of summarized values
Kyun-Seop Bae k@acr.kr
tsum, tsum1, tsum2, tsum3
tsum0(CO2, "uptake")
tsum0(CO2, "uptake", repl=list(c("mean", "length"), c("Mean", "n")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.