buildStats | R Documentation |
Helper to build a list to allow statistics export.
buildStats(
obj,
stats = list(list(type = "COUNT", title = "Count", def = ""), list(type =
"PERCENT_GATED", title = "%Gated", def = "")),
width = 80 * (1 + length(stats)),
height = 240,
xlocation = 0,
ylocation = 0,
...
)
obj |
an 'IFC_data' object |
stats |
list of statistics instructions, whose members are list containing 3 instructions: |
width |
desired width. Default is 80 * (1 + length(stats)). |
height |
desired height Default is 400. |
xlocation |
x location in analysis workspace. Default is 0. |
ylocation |
y location in analysis workspace. Default is 0. |
... |
Other arguments to be passed. |
when stats$type is:
- "COUNT","PERCENT_GATED","CONCENTRATION", stats$def will be "",
- "PERCENT", stats$def has to be a population name,
- "MEAN_RD","MEDIAN_RD" stats$def has to be the concatenation of a feature name and a population name collapse with "|". e.g. "Area_MC|All",
- otherwise, stats$def has to be a feature name.
an object of class 'IFC_stats'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.