add R scripts to estimate effect size in data space