Nothing
library(epitable) library(dplyr)
The epitable package creates a frequency and percentage table commonly used in epidemiological papers. It is a wrapper for the htmlTables-package.
head(example_data)
Counts and frequencies of the variables color
and clarity
grouped by cut
is obtained below:
freq_by(dataset = example_data, var_vector = c("color", "clarity"), by_group = "cut" )
The by_group
variable must be of class factor, to ensure correct order.
To do in a possible future:
by_group
sThe output is a HTML-table created by the htmlTable-package. The HTML-output looks best if no CSS is used.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.