n4rci(CIwidth = NULL, N = NULL, alpha = NULL)
n4rci(CIwidth=.15, N=NULL, alpha=.05) #finding the necessary N
n4rci(CIwidth=NULL, N=200, alpha=.05) #finding the CI width
n4rci(CIwidth=.3, N=120, alpha=NULL) #finding the alpha
Run the code above in your browser using DataLab