Hello Dr. Fleming, I am currently analyzing how resource selection for giant anteaters may differ between individuals who were orphaned/rehabbed and individuals who were wild-raised. However, I am having a bit of difficulty with generating RSFs. For context, my named raster list consists of six rasters that represent different land types in the area. If a cell has the land type in it, the cell is renamed to “TRUE”, and if the cell does not have the land type in it, the cell is renamed to “FALSE”. From my understanding, rsf.select() is better for working with movement models on these kinds of rasters since rsf.fit() tends to flatten and expand confidence intervals, which has been my experience. However, when I use summary() on my results, several land types have been excluded. From my understanding, this is normal, as rsf.select() will drop non-significant values from the results; however, my results occasionally still include non-significant values. Additionally, mean() does not pick up the values for land types that rsf.select() dropped. For a visual, I have included screenshots from summary() for my rsf.select() results and one from rsf.fit() to illustrate how wide those confidence intervals are.



Questions:
1. Why is rsf.select() dropping some non-significant values but not others?
2. 2. Why am I getting no results for some individuals?
3. 3. Is there a way I can make sure that rsf.select() outputs results for all of my land types instead of the function randomly dropping some? I want to compare the results on a population level, but I will be visualizing these results with individual points as well. Additionally, I will be doing a moving window analysis on selection for each individual. So overall, I would like rsf.select() to provide results for all land types, whether they are significant or not.
The for.loop I am using is as follows:
RSF_17 <- list()
for(i in 1:length(DATA_17)){
#extract individual
DATA <- DATA_17[[i]]
#extract AKDE
AKDE <- AKDE_17[[i]]
#ensure projections are the same
ctmm::projection(DATA) <- ctmm::projection(AKDE)
#fit RSF
RSF_17[[i]] <- rsf.select(DATA, UD = AKDE, R = covers)
} #close the loop
I apologize for how long this post is; I thought it would be best to give you all of the information now rather than go back and forth. Any help with this would be greatly appreciated as I am running out of ideas on how to solve this problem.
Best Regards, Issy Perry