Displaying 2 results from an estimated 2 matches for "stat_count".
Did you mean:
state_count
2016 Apr 12
2
ggplot2
Dear R Community,
Below is a problem with a simple ggplot2 graph. The code returns the error
message below.
Error: stat_count() must not be used with a y aesthetic.
My code is below and the data is attached as a ?text? file.
# Graph of the probabilities
library(digest)
library(DT)
datatable(probability)
str(probability)
probability$Fertilizer <- as.factor(probability$Fertilizer)
str(probability)
library(ggpl...
2016 Apr 12
0
ggplot2
...om_bar(stat="identity", aes(fill=Treatment))
best,
huzefa
On Tue, Apr 12, 2016 at 1:02 PM, James Henson <jfhenson1 at gmail.com> wrote:
> Dear R Community,
>
> Below is a problem with a simple ggplot2 graph. The code returns the error
> message below.
>
> Error: stat_count() must not be used with a y aesthetic.
>
> My code is below and the data is attached as a ?text? file.
>
>
>
> # Graph of the probabilities
>
> library(digest)
>
> library(DT)
>
> datatable(probability)
>
> str(probability)
>
> probability$Fertilizer...