View source: R/aldex-summary.R
| cohensd | R Documentation |
Function to compute cohensd on the results provided by the aldex function
cohensd(m, var)
m |
the output of a call to |
var |
if aldex was called with X being a pre-computed model matrix,
this var should be an integer corresponding to a binary covariate
indicating the desired effect size to calculate (an effect size between
two groups indicated by the binary covariate). For example, if the third
covariate in the model is an indicator denoting health (0) and disease (1)
then set |
WARNING: this function is experimental and requires users read the documentation fully.
A (D x nsample)-matrix of Cohen's d statistics for the variable of interest.
Justin Silverman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.