powered by
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.
estimatePhi( data, isThermallingFunction = getDefaultIsThermallingFunction(360, 4), maxPointsToUseInEstimate = 20, phiInitialEstimate = 0, isGoodPoint = NULL, returnPointsUsedInEstimate = F, windowSize = 29, ... )
a list with phi and the log likelihood and the number of locations used
An move object or stack.
The thermalling function to use.
Maximal number of desired windows for phi estimation
Initial phi estimate
The points to use for phi estimation as logical or numeric, if NULL then findGoodPoints is used.
an logical value, if the segments used for phi estimation should also be returned.
An window size, odd number or the start and end of the window relative to the focal point
extra arguments for getWindSpeedEstimates
data(storks) estimatePhi( storks[[2]], windowSize = 19, isSamplingRegular = 1, isThermallingFunction = getDefaultIsThermallingFunction(360, 4), maxPointsToUseInEstimate = 10 )
Run the code above in your browser using DataLab