View source: R/misc_functions.R
freq_cont | R Documentation |
freq_cont
tabulates a continuous variable by given classes.
freq_cont(x, bks, dg = 2)
x |
A numerical (continuous) variable. Ideally, relatively long (greater than 100 observations). |
bks |
Breaks defining the classes (see example). |
dg |
Number of digits for rounding (default = 2). |
A data frame with the classes, the mid-point, the frequencies, the relative and cumulative frequencies.
data(IgM, package = "ISwR")
Ab <- data.frame(IgM)
estat(~IgM, data = Ab)
freq_cont(IgM, seq(0, 4.5, 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.