Jump to content
Sign in to follow this  

STL in R

Recommended Posts

Actually I want to use R STL (Seasonal Trend Decomposition by LOESS) function on each pixel of MODIS Time Series. Currently I am able to run STL on single pixel value which is being read from a csv file. I don't know how to loop over each pixel and get the output in three rasters say raster 1 for trend, raster 2 for seasonal component and raster 3 for remainder.


Any help in this regard will be appreciated

Edited by jack_stepeny

Share this post

Link to post
Share on other sites

Can you post your code? This way we can see how you're handling your data.


If not, have a look at the apply functions in R (apply, sapply, lapply, etc.).

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.