Impact | R Documentation |
Calculates the Impact effect size measure that is based on the group distance and the difference in the shape of the data distribution between two groups.
Impact(Data, Cls, PlotIt = FALSE, pde = TRUE, col = c("red","blue"), meanLines = FALSE, medianLines = FALSE, ...)
Data |
the data of both groups as a vector. |
Cls |
the class information as a vector of similar length as the data vector. |
PlotIt |
plots the pdf of the two groups as Pareto density estimation. |
col |
colors of the two lines to plot.
Will be ignored if |
pde |
plots a standard pdf insted of a non-parametric Pareto density estimation.
Will be ignored if |
meanLines |
adds perpendicular lines at the means of the two groups.
Will be ignored if |
medianLines |
adds perpendicular lines at the medians of the two groups.
Will be ignored if |
... |
more graphical parameters can be given as plot arguments if PlotIt = TRUE. |
Returns a list of value incuding the main result and intermediate results.
Impact |
the main effect size measure. |
MorphDiff |
the extend of the group-difference in the shapes of the pdf. |
CTDiff |
the extend of the difference in the group medians. |
Jorn Lotsch and Alfred Ultsch
Lotsch, J., and Ultsch, A. (2019): ImpactEffectsize – an R Package for calculation and visualisation of the Impact distance and shape based effect size measure.
## example 1 data("FeatureselectionData") ImpactSize <- Impact(Data = FeatureselectionData$Var0011, Cls = FeatureselectionData$Classes, PlotIt = TRUE) ## example 2 data("BcellLymphomaCD79") data("FeatureselectionData") data("FlowcytometricData") data("SameMeansData") data("StocksFluctuation")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.