rslab package

ATPS to BTPS converter

Funtions to convert lung volumes/flows from ATPS to BTPS.

lung_vol_atps_btps()

Convert Lung Volume from ATPS to BTPS

get_btps_factor()

Get BTPS Correction factor

btps_df

BTPS Correction factor Lookup Table

Metabolic Rate & Oxygen Consumption Calculator

Funtions to calculate metabolic rate and oxygen consumption from Harvard Spirometer tracing.

get_metabolic_rate()

Calculate Metabolic Rate

get_oxycons()

Calculate Oxygen Consumption from Harvard Spirometer

get_STPD_factor()

Get STPD correction factor

get_BSA()

Calculate Body Surface Area

stpd_df

STPD Correction factor Lookup Table

stpd_df_wide

STPD Correction factor Lookup Table (Wide format)

Simulate data to plot Harvard spirometer tracing

Funtions to simulate data to plot Harvard spirometer tracing from respiratory parameters.

sim_Harvard_tracing()

Simulate Harvard Spirometer Tracing

tracing_info()

Get Tracing Info from Harvard Spirometer Tracing