Create initial vector of partial pressures for sim_anaesthetic_uptake().

partial_pressures(
  pinsp,
  palv = 0,
  part = 0,
  pvrg = 0,
  pmus = 0,
  pfat = 0,
  pcv = 0
)

Arguments

pinsp

double(1), inspired anaesthetic partial pressure in atm.

palv

double(1), alveolar pressure, partial pressure in the lung.

part

double(1), arterial partial pressure.

pvrg

double(1), partial pressure in the vessel rich group compartment.

pmus

double(1), partial pressure in the lean/muscular compartment.

pfat

double(1), partial pressure in the fat compartment.

pcv

double(1), partial pressure in the central venous compartment.

Value

a named numeric with partial pressures suiteable as input for the sim_anaesthetic_uptake() function.

Examples

partial_pressures(pinsp = 12)
#> pinsp  palv  part  pvrg  pmus  pfat   pcv 
#>    12     0     0     0     0     0     0