findGoodPoints: Function to find good points for estimation of phi

View source: R/estimatePhi.R

findGoodPointsR Documentation

Function to find good points for estimation of phi

Description

The function tries to find non overlapping windows for phi optimization.

Usage

findGoodPoints(
  data,
  maxPointsToUseInEstimate,
  phiInitialEstimate,
  windowSize,
  ...
)

Arguments

data

An move object.

maxPointsToUseInEstimate

The number of desired windows.

phiInitialEstimate

The initial value used for the autocorrelation when calculating the wind speed for finding suitable windows.

windowSize

An odd number providing the window size

...

passed on to getWindEstimates

Value

a logical vector with the focal locations

Examples

data(storks)
which(findGoodPoints( storks[[2]],
windowSize = 29,  isSamplingRegular = 1,
isThermallingFunction = getDefaultIsThermallingFunction(360, 4),  maxPointsToUseInEstimate = 10,
phiInitialEstimate = 0  ))

moveWindSpeed documentation built on June 7, 2023, 6:08 p.m.