estimatePhi {moveWindSpeed} | R Documentation |
estimatePhi
Description
An function to estimate phi (the autocorrelation of speed) from data. This is done using iterative calls to the wind speed optimization on a selection of segments.
Usage
estimatePhi(
data,
isThermallingFunction = getDefaultIsThermallingFunction(360, 4),
maxPointsToUseInEstimate = 20,
phiInitialEstimate = 0,
isGoodPoint = NULL,
returnPointsUsedInEstimate = F,
windowSize = 29,
...
)
Arguments
data |
An move object or stack. |
isThermallingFunction |
The thermalling function to use. |
maxPointsToUseInEstimate |
Maximal number of desired windows for phi estimation |
phiInitialEstimate |
Initial phi estimate |
isGoodPoint |
The points to use for phi estimation as logical or numeric, if NULL then findGoodPoints is used. |
returnPointsUsedInEstimate |
an logical value, if the segments used for phi estimation should also be returned. |
windowSize |
An window size, odd number or the start and end of the window relative to the focal point |
... |
extra arguments for getWindSpeedEstimates |
Value
a list with phi and the log likelihood and the number of locations used
Examples
data(storks)
estimatePhi(
storks[[2]],
windowSize = 19,
isSamplingRegular = 1,
isThermallingFunction = getDefaultIsThermallingFunction(360, 4),
maxPointsToUseInEstimate = 10
)
[Package moveWindSpeed version 0.2.4 Index]