R/BSDA-package.R
Tenness.Rd
Data for Exercise 6.56
Tenness
A data frame/tibble with 20 observations on one variable
Tennessee Self-Concept Scale score
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
hist(Tenness$score, freq= FALSE, main = "", col = "green",
xlab = "Tennessee Self-Concept Scale score")
lines(density(Tenness$score))
if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Tenness, aes(x = score, y = ..density..)) +
geom_histogram(binwidth = 2, fill = "purple", color = "black") +
geom_density(color = "red", fill = "pink", alpha = 0.3) +
theme_bw()
}