Skip to content

Instantly share code, notes, and snippets.

View praveenkumarpgiindia's full-sized avatar
🎯
Focusing

Praveen Kumar M praveenkumarpgiindia

🎯
Focusing
View GitHub Profile
@praveenkumarpgiindia
praveenkumarpgiindia / p-value_misconceptions_figures.R
Created October 28, 2018 07:31 — forked from Lakens/p-value_misconceptions_figures.R
figures to explain p-value misconceptions
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
@praveenkumarpgiindia
praveenkumarpgiindia / c_sharp_for_python.md
Created August 17, 2018 14:47 — forked from mrkline/c_sharp_for_python.md
An intro to C# for a Python developer. Made for one of my coworkers.

C# For Python Programmers

Syntax and core concepts

Basic Syntax

  • 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,