Thanks, Nicole I want to compare a few methods as in Elith et al 2006 Ecography 29: 129-51. So, what I am after is a generic method to do "spatial projection" with fitted statistical models, could be GAM, GLM, or MARS, etc. Maybe using prediction.model is the only way to this at the moment.
Cheers, Li -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nicole K.S. Barker Sent: Wednesday, 6 March 2013 5:00 AM To: Li Wen Cc: [email protected] Subject: Re: [R-sig-eco] Projecting model to landscape If you extract the information from your rasters into a dataframe (one column per raster), can you use the predict.randomForest function in the randomForest package? If yes, you can then input your predictions back into a raster of the same dimensions as the environmental variables. I don't have any experience with random forest model, but that's what I do with my Boosted Regression Tree predictions. Nicole K.S. Barker Ph.D Student / Étudiante au Doctorat Laval University / Université Laval Ducks Unlimited Canada / Canards Illimités Canada LinkedIn: www.linkedin.com/in/nksbarker Phone: 647-470-3207 On Tue, Mar 5, 2013 at 5:21 AM, Li Wen <[email protected]> wrote: > Dear list member > > > > I have fitted a Random Forest model for species distribution, and want to > use it to project the model to a defined landscape (i.e. forecasting for > all > grids in an area) . The landscape has all the environment covariates > (rasters) and cover a large region (over 1000*1000 grids). I wonder if > there > is package in R to do this. Thank you for your help in advance. > > > > Cheers > > Li > > > > > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-ecology mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > [[alternative HTML version deleted]] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- This email is intended for the addressee(s) named and may contain confidential and/or privileged information. If you are not the intended recipient, please notify the sender and then delete it immediately. Any views expressed in this email are those of the individual sender except where the sender expressly and with authority states them to be the views of the Office of Environment and Heritage, NSW Department of Premier and Cabinet. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL _______________________________________________ R-sig-ecology mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
