Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Chris Evans via R-help
I'm only seeing six dates, by the look of them five at one day intervals and the last three days later.  According to my calendar those were weekdays in 2005.  I don't see much "volatility" there and that's not a term I'm familiar with, I suspect it's econometric.  I don't know what you're

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Thomas . Rose
Pani Gesendet: Dienstag, 2. Mai 2023 10:57 An: r-help Betreff: [R] Reg: Help regarding ggplot2 Dear All, I have a dataset which contains date and 12 other countries data. I have extracted the data as xts object. I am not able to recall all the series in the Y axis. My data set looks like

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Upananda Pani
Hi Chrish, I am grateful to you for your reply. Your code is working fine. Moreover, you have guided me how to improve my knowledge, I appreciate it. I will be very careful next time. The data which i am working on is given below: dput(head(data_vol3)) structure(list(index = structure(c(12786,

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Upananda Pani
Hi Chris, Thank for your solutions and time. I am getting the following error while trying to execute the code you suggested. Error in select(., -rowN) : unused argument (-rowN) Regards, Upananda On Tue, May 2, 2023 at 3:08 PM Chris Evans via R-help wrote: > > It's not clear what you want but

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Upananda Pani
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 Pani > > *Gesendet:* Dienstag, 2. Mai 2023 10:

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Ebert,Timothy Aaron
- From: R-help On Behalf Of Upananda Pani Sent: Tuesday, May 2, 2023 4:57 AM To: r-help Subject: [R] Reg: Help regarding ggplot2 [External Email] Dear All, I have a dataset which contains date and 12 other countries data. I have extracted the data as xts object. I am not able to recall all

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Olivier Crouzet
Dear Upananda, to complement the current response to your question, your data source looks like a "wide table" while you would certainly need them to be organised as a "long table", or to speak differently as a "tidy table". You should read this source in order to get a grasp on these issues:

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Chris Evans via R-help
It's not clear what you want but ... On 02/05/2023 10:57, Upananda Pani wrote: > Dear All, > > I have a dataset which contains date and 12 other countries data. I > have extracted the data as xts object. > > I am not able to recall all the series in the Y axis. My data set > looks like this > >

[R] Reg: Help regarding ggplot2

2023-05-02 Thread Upananda Pani
Dear All, I have a dataset which contains date and 12 other countries data. I have extracted the data as xts object. I am not able to recall all the series in the Y axis. My data set looks like this index crepub finland france germany italy netherlands norway poland