I have this chunk here. Any ideas why I cannot get the x-axis labels to rotate 90 degrees? THere is no error, just unrotated labels on the line chart.
ggplot(data = whole_2profile_model_full,
aes(x = param,
y = est,
group = LatentClass,
color = LatentClass)) +
geom_line(aes(linetype = LatentClass)) +
geom_point() +
labs(title = "Standardized Mean Item Scores",
x = "Scale Item",
y = "Score" ) +
scale_color_brewer(palette = "Paired") +
theme(axis.text.x = element_text(angle = 90)) +
theme_minimal()