Handy R commands

The following are just some R commands I have found useful

qnorm(x) Gives you the Z score for a given probablity. So if you want the Z score for 95% of the curve you need it for 5% / 2 so 0.025 qnorm(0.025) gives you 1.959964