You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to extrapolate species presence from a set of 30 spatially explicit plots to a set of 255 plots within the same study area without species presence data. When I use the prepareGradient function with the updated coordinates and xData values, (from n = 30, to n = 255) and run predict, it continues to only give predictions for the original 30 points, and not the 255 new points, despite specifying the new dataframe. I followed the code in the script for the bird example exactly and do not know how to troubleshoot this issue. The issue seems to be after constructing the prepareGradient, the "rLNew" still equals 30, and not 255, despite the dataframe for both XDataNew and sDataNew = 255 rows, not 30 rows.
The text was updated successfully, but these errors were encountered:
Could you explain why do you want to use prepareGradient(...) even when you already know the new locations and XData for them? For me this sounds more like a standard use case of predict(...) method.
I've been trying to extrapolate species presence from a set of 30 spatially explicit plots to a set of 255 plots within the same study area without species presence data. When I use the prepareGradient function with the updated coordinates and xData values, (from n = 30, to n = 255) and run predict, it continues to only give predictions for the original 30 points, and not the 255 new points, despite specifying the new dataframe. I followed the code in the script for the bird example exactly and do not know how to troubleshoot this issue. The issue seems to be after constructing the prepareGradient, the "rLNew" still equals 30, and not 255, despite the dataframe for both XDataNew and sDataNew = 255 rows, not 30 rows.
The text was updated successfully, but these errors were encountered: