Learn R Programming

moderndive (version 0.4.0)

bowl_sample_1: Tactile sample of size 50 from a bowl of balls

Description

A single tactile sample of size n = 50 balls from https://github.com/moderndive/moderndive/blob/master/data-raw/sampling_bowl.jpeg

Usage

bowl_sample_1

Arguments

Format

A data frame of 50 rows representing different balls and 1 variable.

color

Color of ball sampled

See Also

bowl

Examples

Run this code
# NOT RUN {
library(ggplot2)

# Barplot of distribution of balls in sample
ggplot(bowl_sample_1, aes(x = color)) +
  geom_bar() +
  labs(title = "50 sampled bals from bowl")
# }

Run the code above in your browser using DataLab