Learn R Programming

asbio (version 1.9-7)

samp.dist.mech: Animated representation of sampling distribution basics

Description

Mountain goats are randomly sampled 10 at a time and weighed [goat weights are normal N(90.5, 225)], a mean weight is calculated from these measures and added to collection of mean weights in the form of a histogram.

Usage

samp.dist.mech(rep, int = 0.05)

samp.dist.mech.tck()

Arguments

rep

Number of samples. Should not greatly exceed 100.

int

The time interval for animation (in seconds). Smaller intervals speed up animation

Author

Ken Aho