Hello Chris,
I came back to this issue after a couple of months. I want to incorporate the change in NDVI over time, so I wrote a code called find_ndvi(coordinate, time) to return the NDVI value of a location at a certain time. I was wondering if either of the methods below could work for my data set:
1. Extracting the coordinate, timestamp, and weight of each available point and conduct a weighed logistic regression (simple GLM)
- You mentioned that it is possible to plot the points generated by the Gaussian availability model
in the previous discussion. Therefore, I was wondering if we can plot the available points, can we extract the coordinates, timestamp, weights, and effective sample size (N) for each point using ctmm package and how (I am thinking about using Riemann integration)?
2. Modifying the code of rsf.select to incorporate find_ndvi function for NDVI value extraction
- I tried to figure out how formula works, but I am not sure if "formula" can be used as a place to put a function command (in my understanding, formula is an object to specify the relationship of elements in R=list() that I want to test? not sure if this is correct). I was wondering if there is any way that I can modify the code to extract time-dependent values for my data points.
I am sorry for bothering you multiple times with the same issue. Any thoughts and information would be greatly appreciated.
Thank you so much for your time.
Best regards,
Fang