An R Introduction to Statistics

qnorm

Sampling Size of Population Proportion

A tutorial on computing the sampling size for the desired margin of error of population proportion estimate at given confidence level.