Tag Info

Hot answers tagged


Here is how you could get the slope, using R and the raster package. To (also) get the intercept see help(calc) library(raster) # your file # b <- brick("file.nc") # example data: b <- brick(system.file("external/rlogo.grd", package="raster")) # here time is 1 to n, but you can set it something else time <- 1:nlayers(b) # write a function that ...

Only top voted, non community-wiki answers of a minimum length are eligible