R scripts for standard power analyses and comparisons