[R] Required help

Rajesh Ahir_GJ rk@h|r712 @end|ng |rom gm@||@com
Sun May 5 06:53:48 CEST 2019


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]]



More information about the R-help mailing list