search for: tibdatavol3long

Displaying 2 results from an estimated 2 matches for "tibdatavol3long".

2023 May 02
1
Reg: Help regarding ggplot2
...g to do something like that to reclaim it! ### pivot that longer to make it easy to get country data as separate lines data_vol3 %>%? select(-rowN) %>% ? pivot_longer(cols = -index, # as you want to pivot the other variables/columns ?????????????? names_to = "countries") -> tibDataVol3Long ggplot(data = tibDataVol3Long, ?????? aes(x = index, y = value, ???????????? ### now get the grouping and use it for a colour legend ???????????? group = countries, colour = countries)) + ? geom_line() > Any help in this regard will be highly appreciated > > With regards, > Upanan...
2023 May 02
5
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 this index crepub finland france germany italy netherlands norway poland <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>