Hello R users,

I am getting an error while running following code.

library(ggplot2)
ggplot(hourly_data1,aes(hour, power))+
geom_boxplot(aes(fill=monthname),outlier.shape=NA) + facet_wrap(~monthname)
ggplot(hourly_data1,aes(hour, power))+
geom_boxplot(aes(fill=dayname),outlier.shape=NA) + facet_wrap(~dayname) +
geom_smooth(aes(group=1))

An error i am getting is:
Error: Must request at least one colour from a hue palette.

Please help me to solve this.

-- 

Rajesh

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to