powered by
Computes the z-score for testing whether the proportion (probability) of successes in `x` differs from zero.
zprob(x)
A numeric value giving the z-score for the observed proportion.
A numeric or logical vector representing binary outcomes (e.g., 0/1 or TRUE/FALSE), from which the proportion is calculated.
zprob(misimdata$x1)
Run the code above in your browser using DataLab