Learn R Programming

flying (version 0.1.3)

flysim: Range Estimation

Description

Practical range estimation of birds using methods in Pennycuik (1975) Mechanics of Flight. These methods are based on Breguet equations.

Usage

flysim(file, header = TRUE, sep = ",", quote = "\"", dec = ".",
             fill = TRUE, comment.char = "", ..., data = NULL,
             settings = list())

Arguments

file

Arguments for path to data.

header

Logical. If TRUE use first row as column headers

sep

separator

quote

The set of quoting characters. see read.csv

dec

The character used in the file for decimal points.

fill

See read.csv

comment.char

For more details see read.csv

...

further arguments see read.csv

data

A data frame.

settings

A list for re-defining constants. See details.

Value

S3 class object with range estimates based on methods defined and settings used

  • range estimates (Km)

  • settings used

  • data

Details

The option *settings takes the arguments (those particulary required by this function)

  • ppc: Profile power constant

  • eFat: Energy content of fuel from fat

  • g: Accelaration due to gravity

  • mce: Mechanical conversion efficiency [0,1]

  • ipf: Induced power factor

  • vcp: Ventilation and circulation power

  • airDensity: Air density at cruising altitude

  • bdc: Body drag coefficient

  • alpha: Basal metabolism factors in passerines and non passerines

  • delta: Basal metabolism factors in passerines and non passerines alpha*bodyMass^delta

Examples

Run this code
# NOT RUN {
flysim(data = birds, settings = list(eFat = 3.89*10^7))
flysim(data = birds,  settings = list(airDensity = 0.905))

# }

Run the code above in your browser using DataLab