Hello,
how can I print the name of a vector (column) as the title on a plot using such a function:
oo <- function(x) {
ggplot() +
aes(sample=x)+
geom_qq() +
geom_qq_line(color="red")+
labs(title=[..........])
}
lapply(mtcars, oo)
the plots turn up fine, but I need titles ("mpg" etc.)