Description Usage Arguments Value Author(s) Examples
View source: R/SampDist2Props.R
An app to explore the sampling distribution of the difference of two sample proportions.
1 | SampDist2Props(form,data,max.sample.sizes=100,sim.reps=1000)
|
form |
An object of class formula, of the form ~x+y where x and y are factors supplied by: |
data |
A dataframe, representing the imaginary population. In the formula, both factors should have exactly two levels. The variable x represents the explanatory variable. |
max.sample.sizes |
Maximum sample sizes allowed on the sliders. |
sim.reps |
Number of samples to construct the empirical distribution. |
Graphical and numerical output.
Homer White hwhite0@georgetowncollege.edu
1 2 3 4 5 | ## Not run:
data(imagpop)
SampDist2Props(~sex+cappun,data=imagpop)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.