This function builds a title from a name and possibly certain statistics and units.
1 2 3 4 5 |
data |
a data frame, possibly with metaframe |
name |
the internal name of the variable |
fxInfo_title |
either a title or |
fxInfo_title_fun |
either a function which determines a title or |
fxInfo_name |
the name of the variable |
fxInfo_unit |
the unit of the variable or |
fxInfo_title_stats |
the statistics that should be given in the title. Number of data points and missing values are given separately. |
fxInfo_title_na.show |
Should the number of missing values be displayed? |
fxInfo_title_na.show.threshold |
If |
fxInfo_title_n.show |
Should the number of data points be displayed.
Default is |
fxInfo_title_unit.show |
Should the unit be displayed? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.