Skip to content
Prev 365817 / 398502 Next

ggplot2, qplot, problems

Dear the R Community,

I just encountered an error while using ggplot2 and the qplot function
(please see below for the warnings and error), and i have no idea about how
to make changes so that it will work.
Could anyone kindly advise me a bit and help me out here?

------------------------------------------------------------------------------------------------------
Warning message:
package ?ggplot2? was built under R version 3.2.5
stat="identity",
+ geom="bar", position=dodge,
+ ylab="Proportion of looks", xlab="happening",
+ fill=happening, colour=happening,
+ main="Proportion target looking by condition and testing phase for each
single subject")

Warning messages:
1: `stat` is deprecated
2: `position` is deprecated
Error: stat_count() must not be used with a y aesthetic.
-------------------------------------------------------------------------------------------------------

thank you very much.

Cheers,
Daniel