Dear Upananda,
I see a misplaced bracket in your code, and there is no need in aes() to call
the dataframe explicitly. Does this work?
ggplot(data = data_vol3, aes(x = index, y = usa)) +
geom_line()
Best wishes,
Thomas
Von: R-help im Auftrag von Upananda Pan
Dear Francesca,
As Rolf already pointed out, please provide more comprehensible information.
As shot into the blue, excluding the NAs when calculating the mean might help:
> mean(c(3, 5, NA))
[1] NA
> mean(c(3, 5, NA), na.rm = TRUE)
[1] 4
Cheers,
Thomas
Von:
2 matches
Mail list logo