Skip to contents

Defaults to the book's five worked points, whose means are 4 and 3.

Usage

BookMeans(x = NULL, y = NULL)

Arguments

x, y

data vectors; default to the book's five worked points.

Value

list(xbar, ybar).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eq (6.83).

Examples

BookMeans()$xbar
#> [1] 4