Learn R Programming

physiology

Calculate physiologic characteristics of awake and anesthetized adults, children and infants

A variety of formulae are provided for estimation of physiologic characteristics of infants, children, and adults. Calculations include: body surface area, ideal weight, airway dead-space, the alveolar gas equation, and GFR. Each formula is referenced to the original publication. Future functions will cover more material with a focus on anaesthesia, critical care and peri-operative medicine.

Functions are provided for estimation of a range of physiologic characteristics of infant, child and adult humans.

  • Height, weight and fluid compartments.
  • Henderson-Hasslebalch
  • Alveolar gas equation
  • Airway dead-space

Each formula is referenced to the original publication. Warnings can be given for estimation based on input data outside of normal ranges. Future functions will cover more material with a focus on anaesthesia, critical care and peri-operative medicine.

Contributions welcome.

Copy Link

Version

Install

install.packages('physiology')

Monthly Downloads

56

Version

1.2.1

License

GPL-3

Maintainer

Last Published

November 28th, 2018

Functions in physiology (1.2.1)

adj_weight_adult

adjusted body weight
age_from_dates

age from birth and reference dates
ett_size_by_age

Estimate appropriate size of endotracheal tube for infants and children
egfr

Automatically select the best equation to use for estimated glomerular filtration rate (eGFR) calculation.
temp_c_to_k

Temperature in Kelvin from Celsius
deadspace_total

Estimate ventilation dead-space
blood_vol_Nadler

Estimate Blood Volume
svp_sea_level

Saturation vapor pressure of water at sea level
age_m_to_y

Calculate age in years from other units
deadspace_things_ml

Apparatus dead space for common things
henderson_hasselbalch

pH by Henderson Hasselbalch equation
ideal_weight

ideal weight for adults
is_adult

Is age >= 18 years
physiology-package

physiology
valid_height

Validate physiologic input parameters
pres_atm_kPa

Get mean atmospheric pressure at given altitude in kPa
creatinine_mgdl_to_uM

Convert serum creatinine from mg/dL to umol/L
deadspace_equipment_ml

Calculate equipment deadspace in ventilator breathing circuit
bmi_adult

Body Mass Index (BMI) for adults
Pa_to_torr

Conversion factor from Pa to torr (mmHg)
bsa

Estimate body surface area
ett_vol_ml

Estimate volume inside an endotracheal tube
french_to_diameter_mm

French to diameter
alveolar_PAO2_mmHg

alveolar gas equation
ideal_weight_Traub

ideal weight for child per Traub