atmosprops {hydraulics} | R Documentation |
Functions to calculate ICAO standard atmospheric properties: temperature, density, and pressure.
Description
Functions to calculate ICAO standard atmospheric properties: temperature, density, and pressure.
Usage
atmtemp(alt = NULL, units = NULL, ret_units = FALSE)
atmpres(alt = NULL, units = NULL, ret_units = FALSE)
atmdens(alt = NULL, units = NULL, ret_units = FALSE)
Arguments
alt |
the altitude (above mean sea level). If excluded, sea level is assumed [ |
units |
character vector that contains the system of units [options are
|
ret_units |
If set to TRUE the value(s) returned are of class |
Value
the temperature of air for the standard atmosphere for the
atmtemp function [ or
]
the absolute pressure of air for the standard atmosphere for the
atmpres function [ or
]
the density of air for the standard atmosphere for the
atmdens function [ or
]
Author(s)
Ed Maurer
Examples
#Find standard atmospheric temperature at altitude 8000 m
atmtemp(alt = 8000, units = 'SI')
#Find standard atmospheric pressure assuming default altitude of zero (sea-level)
atmpres(units = 'Eng', ret_units = TRUE)
#Find standard atmospheric density at altitude 15000 ft
atmdens(alt = 15000, units = 'Eng')
[Package hydraulics version 0.7.0 Index]