Relative Content

Tag Archive for rfunctionsapply

using custom function in sappply

I have written a very basic function that calculates the Cohen’s d effect size from 2 means and 2 standard errors of mean (SEM). It simply takes the difference in the means and divides it by the pooled standard deviations (obtained from the SEM by multiplying it by the square root of n)