getDefaultIsThermallingFunction | R Documentation |
A function to generate an isThermallingFunction
getDefaultIsThermallingFunction(totalAngle = 360, minMeanSpeed = NULL)
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 |
a function is returned that based on a series of headings returns a logical value to indicate is a track is thermalling or not
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.