npr | R Documentation |
This function estimates the mean value of an annotated covariate as a function of location, using non-parametric regression.
npr(data,UD,variable="speed",normalize=FALSE,debias=TRUE,error=0.001,...)
data |
2D timeseries telemetry data represented as a |
UD |
A |
variable |
Variable for mean estimation. Can be a column of |
normalize |
Consider |
debias |
Correct for oversmoothing if |
error |
Target probability error. |
... |
Arguments passed to |
Returns a UD
object.
C. H. Fleming.
akde
, occurrence
# Load package and data
library(ctmm)
data(buffalo)
DATA <- buffalo$Cilla
# calculate fit guess object
GUESS <- ctmm.guess(DATA,interactive=FALSE)
# in general, you should be running ctmm.select here instead of ctmm.fit
FIT <- ctmm.fit(DATA,GUESS)
# Compute akde object
UD <- akde(DATA,FIT)
# compute revisitation distribution
RD <- revisitation(DATA,UD)
# Plot data with revisitation distribution
plot(DATA,RD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.