Displaying 3 results from an estimated 3 matches for "data_vol3".
2023 May 02
5
Reg: Help regarding ggplot2
...0.509 0.785 1.09
4 2005-01-06 1.11 0.615 1.76 2.67 0.346 0.509 0.711 1.06
5 2005-01-07 1.08 0.615 1.72 2.57 0.346 0.509 0.661 1.02
6 2005-01-10 1.04 0.615 1.69 2.48 0.346 0.509 0.630 1.01
My code for the same is as follows
ggplot(data=data_vol3, aes(x=index, y=data_vol3$usa)+
geom_line())
Any help in this regard will be highly appreciated
With regards,
Upananda Pani
2023 May 02
1
Reg: Help regarding ggplot2
...05 1.15 0.615 1.81 2.78 0.346 0.509 0.785 1.09
> 4 2005-01-06 1.11 0.615 1.76 2.67 0.346 0.509 0.711 1.06
> 5 2005-01-07 1.08 0.615 1.72 2.57 0.346 0.509 0.661 1.02
> 6 2005-01-10 1.04 0.615 1.69 2.48 0.346 0.509 0.630 1.01
>
> My code for the same is as follows
>
> ggplot(data=data_vol3, aes(x=index, y=data_vol3$usa)+
> geom_line())
Well you don't need to say that the y data are from data_vol3, your data
= declaration says that.
I wonder if what you want is:
library(tidyverse)
tribble(
? ~rowN, ~index, ~crepub, ~finland, ~france, ~germany, ~italy,
~netherlands, ~norw...
2023 May 02
0
Reg: Help regarding ggplot2
...With sincere regards,
Upananda
On Tue, May 2, 2023 at 3:01?PM Thomas.Rose <Thomas.Rose at daad-alumni.de>
wrote:
> 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 <r-help-bounces at r-project.org> im Auftrag von Upananda Pani
> <upananda.pani at gmail.com>
> *Gesendet:* Dienstag, 2. Mai 2023 10:57
>...