Learn R Programming

moveWindSpeed (version 0.2.4)

getDefaultIsThermallingFunction: A function to generate an isThermallingFunction

Description

A function to generate an isThermallingFunction

Usage

getDefaultIsThermallingFunction(totalAngle = 360, minMeanSpeed = NULL)

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

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

Examples

Run this code
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))

Run the code above in your browser using DataLab