take_poll: Models results from taking a poll

View source: R/take_poll.R

take_pollR Documentation

Models results from taking a poll

Description

The function shows a plot of a random sample drawn from an urn with blue and red beads. The sample is taken with replacement. The proportion of blue beads is not shown so that students can try to estimate it.

Usage

take_poll(n, ...)

Arguments

n

Sample size

...

additional arguments to be used by the function sample.

Value

None

Examples

take_poll(25)


dslabs documentation built on May 29, 2024, 6:29 a.m.