What I am trying to do :
Write a line of code that calculates the standard error se of a sample average when you poll 25 people in the population. Generate a sequence of 100 proportions of Democrats p that vary from 0 (no Democrats) to 1 (all Democrats).
Plot se versus p for the 100 different proportions.
Trying to convert this math notation to R code, and having trouble defining the "se" variable:
SE(X) = SQRT(p(1 - p)) / N