Thanks for nice presentation, would you tell R version of software? I have R program version 4.3.2. However, this software doesn't have rgdal package. Please, help me???
I have a question, What commands should we apply to your code if we want to obtain output for various scenarios? Can I receive assistance from you via email?
Thanks for the video. It has been helpful. I want to calculate monthly mean for 20years. I am able to do it for five months using the code: ppt_mon<-stackApply(ppt_stack, indices=c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5), fun=mean) Could you please tell me that how can I use it to get monthly mean for multiple months. Also, I want a plot as final output where x-axis represents the months e.g. Jan 2006, Feb 2006...Dec 2010 and y-axis represents data values. Your help would be really valuable.
Thanks for the great video! I am running into an issue when trying to stack my rasters. I get the following error code: Error in data.frame(values = unlist(unname(x)), ind, stringsAsFactors = FALSE) : arguments imply differing number of rows: 1140, 0 I have checked and the pixels/dimensions for my rasters are all the same, so that is not the issue. I would appreciate your help. Thanks!
hey! thank you for sharing. it was really helpful. Can you please tell me how to do seasonal analysis, like if i want to do it for Jan-Apr, what should I put in place of 5 (for May in your video)?
Thank you for sharing. But I can't run the stackApply, it writes "Error in stackApply(ncin, 1:12, mean) : could not find function "stackApply"", and I can;t find the package in R, how to solve it, thank you
@@ougahi > ppt<-list.files("cltMPIHR126.nc") > ncin.r<-stack(ppt) Error in stack.default(ppt) : at least one vector element is required Sorry, I found your data format is .tif, but mine is .nc, so I didn't slice them. I wonder if you know how to extract the specific date data? thank you
A helpful tutorial indeed. I am facing a problem. whenever i try to run functions such as crop, mask, mosaic, or merge, my environment provides the following error: Error in setValues(out, v) : could not find symbol "values" in environment of the generic function If you could please help me with this issue, I'll be very grateful. JazakAllah
Thank you for this great sharing. May I know how to add polygon on all of these 12 maps, and how to remove the grey background color which represents no data? your help would be highly appreciated.
Since, it becomes a normal dataframe after converting with data.frame you can apply normal NA removal methods which we use in R. For example applying this code data <- data[complete.cases(data), ] will remove all the NA values. Then plot it as usual.