-
Single-line comments are started with
//
. Multi-line comments are started with/*
and ended with*/
. -
C# uses braces (
{
and}
) instead of indentation to organize code into blocks. If a block is a single line, the braces can be omitted. For example,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options(scipen=999) #disable scientific notation for numbers | |
#Figure 1 & 2 (set to N <- 5000 for Figure 2) | |
# Set x-axis upper and lower scalepoint (to do: automate) | |
low_x<--1 | |
high_x<-1 | |
y_max<-2 | |
#Set sample size per group and effect size d (assumes equal sample sizes per group) | |
N<-50 #sample size per group for indepndent t-test |