p.hat <- 0.80 # given sample proportion
sd # previously found simulated standard deviation
MoE <- 2 * sd; MoE # margin of error for 95% CI
p.hat - MoE # lower limit of 95% CI
p.hat + MoE # upper limit of 95% CI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.