Learn R Programming

IFC (version 0.1.2)

buildStats: IFC Statistics Coercion

Description

Helper to build a list to allow statistics export.

Usage

buildStats(type, title, def, ...)

Arguments

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.

...

Other arguments to be passed.

Value

a list containing all statistics information.

Details

when 'type' is: - "COUNT","PERCENT_GATED","CONCENTRATION", 'def' will be "", - "PERCENT", 'def' has to be a population name, - "MEAN_RD","MEDIAN_RD" 'def' has to be the concatenation of a feature name and a population name collapse with "|". e.g. "Area_MC|All", - otherwise, 'def' has to be a feature name.