Extent of Suitability prediction

110 views
Skip to first unread message

Catherine Kelly

unread,
Nov 8, 2023, 12:15:34 AM11/8/23
to ctmm R user group
Hello,
I'm still relatively new to this so I'm sorry if it's a silly question.
I have the output from a suitability() prediction of mean.rsf outputs (Fig.1). I want to change the extent to be the same as the input rasters, but when I try change the grid argument to one of the rasters, it doesn't work (Fig.2). 

This is the script I was using (mean.rsf is the mean of two rsf.fit outputs - testing the script on two, will increase later; Rlist is a raster list of 3 environmental rasters; UD_pHREML is the UD output from a single animal - using this, I get Fig.1, if I change this to one of the environmental rasters, I get Fig.2). 

SUIT <- ctmm::suitability(mean.rsf,
                          R = Rlist,
                          grid=UD_pHREML_1b,
                          na.rm = TRUE)

Any suggestions would be amazing - thank you so much

Fig. 1 - output using a UD_pHRML object as the grid argument
fig.1.jpg

Fig. 2. Output using the raster as the grid argument

fig.2.jpg

Christen Fleming

unread,
Nov 10, 2023, 12:48:26 PM11/10/23
to ctmm R user group
Hi Cat,

Would you mind putting those objects into a dropbox folder and sending a link for me to diagnose the issue?

Best,
Chris
Reply all
Reply to author
Forward
0 new messages