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,
...
)
an object of class `IFC_stats`.
an `IFC_data` object
list of statistics instructions, whose members are list containing 3 instructions:
- 'type' stats's type. Allowed are "COUNT","PERCENT_GATED","CONCENTRATION","PERCENT","MEAN","MEDIAN","STDDEV","MAD","CV","MINIMUM","MAXIMUM","GEOMETRIC_MEAN","MODE","VARIANCE","NAN","MEAN_RD","MEDIAN_RD".
- 'title' stats's title. If missing, it will be determined thanks to def.
- 'def' definition of the stats.
Default is:
list(list(type="COUNT",title="Count",def=""),
list(type="PERCENT_GATED",title="%Gated",def=""))
desired width. Default is 80 * (1 + length(stats)).
desired height Default is 400.
x location in analysis workspace. Default is 0.
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.