DispersionMeasureFactory | R Documentation |
DispersionMeasureFactory()
returns a function
for the dispersion measure as specified by a label.
If an invalid label is
specified, the configuration fails.
DispersionMeasureFactory(method = "var")
method |
A dispersion measure.
If an invalid label is specified, the configuration fails. |
A function which computes the dispersion measure from the vector of
population statistics produced by xegaObservePopulation
of package xegaPopulation
.
Other Configuration:
EvalGeneFactory()
,
ScalingFactory()
,
SelectGeneFactory()
require(stats)
fit<-sample(30, 20, replace=TRUE)
populationStats<-c(mean(fit), fivenum(fit), var(fit), mad(fit, constant=1))
dm<-DispersionMeasureFactory("var")
dm(populationStats)
dm<-DispersionMeasureFactory("range")
dm(populationStats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.