When run following code, got error message: Error in is_missing(values) : object 'cbPalette' not found
What library includes cbPalette? Thank you.
data(cbPalette)
df <- data.frame(species = c(rep("dog", 3), rep("cat", 3)),
weight = c(5, 10, 12, 7, 4, 5),
height = c(3.2, 4.5, 4.7, 4, 3.5, 3.3))
ggplot(data = df, aes(x = height, y = weight, color = species)) +
geom_point() +
geom_line() +
scale_colour_manual(values=cbPalette)