getDefaultIsThermallingFunction {moveWindSpeed} | R Documentation |
A function to generate an isThermallingFunction
Description
A function to generate an isThermallingFunction
Usage
getDefaultIsThermallingFunction(totalAngle = 360, minMeanSpeed = NULL)
Arguments
totalAngle |
the cumulative angle that is required to consider an trajectory thermalling |
minMeanSpeed |
the minimal air speed that is required to decide of a track is thermalling |
Value
a function is returned that based on a series of headings returns a logical value to indicate is a track is thermalling or not
Examples
fun<-getDefaultIsThermallingFunction(170)
fun(1:160)
fun(1:190, rep(2,190))
fun<-getDefaultIsThermallingFunction(170, 3)
fun(1:190, rep(2,190))
fun(1:190, rep(3.4,190))
[Package moveWindSpeed version 0.2.4 Index]