xtabs.flex | R Documentation |
Function creates crosstabulation with multiple variables in rows and one variable in column.
xtabs.flex(data, form, deci = 1, title = "", option = r.flex.opts)
data |
dataset |
form |
formula specified as row variables on left hand side and one section variable (columns) on right hand side. E.g. var1 + var2 + var3 ~ var_sect |
deci |
number of decimal points (default=1) |
title |
Table title (optional) |
option |
inherits from r.flex.opts |
list with elements
type - table type - used for inserting in word document (, desc - are there descriptives)
title - used for table title. Can be set manually or automatically
section - section variable title
table - flextable with results
tab.df - results as data.frame
orientation - suggested page orientation (P/L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.