Re: [R] Need to insert various rows of data from a data frame after particular rows from another dataframe

2022-07-27 Thread Ranjeet Kumar Jha
bind" could be used, if the columns in both sets > are the same and in the same order. After that you can reorder the > resulting > data frame as you wish by "order". AFAIK for most functions row order in > data frame does not matter. > > Cheers > Petr > > &g

[R] Need panel plots by each state, comprising three columns in R

2022-07-19 Thread Ranjeet Kumar Jha
Hello, I need to draw a panel plot by each importing the attached csv data (sample panel plot attached as well). Each state should contain three columns- wt, avg, and observed, may be represented as legend or x-axis, and y-axis should show values. I tried doing it in ggplot in R but couldn't succ

[R] need to plot multiple spatial maps side-by-side in a single window using sf plot function in R

2022-05-14 Thread Ranjeet Kumar Jha
Hi, I like to plot all my 5 spatial maps of drought indices in a single window using the sf plot function in R. I am able to plot all maps separately but unable to plot altogether. All indexes are showing drought indices. I really appreciate your help! Here is the code: #merging using merge fun

Re: [R] Need help with merging .RDS data frame yield value with district shapefile corresponding GDMID and plot the graph

2022-05-12 Thread Ranjeet Kumar Jha
10:01, Ranjeet Kumar Jha wrote: > > Thanks for your reply. Though codes are in > > " yield. r" file. > > > You need to pay better attention to what Bert said about your > attachment. `.r` files are not allowed as an attachment type. You need > to either provide