param: Extract parameters from Haldane model

View source: R/hm.R

paramR Documentation

Extract parameters from Haldane model

Description

Extracts the tissue compartment parameters from a Haldane type decompression model.

Usage

  param(model, species = "N2", what = "HalfT")

Arguments

model

The decompression model. An object of class "hm".

species

Character string. The inert gas for which parameters are required: "N2" for nitrogen or "He" for helium.

what

Character string. The parameter required: "HalfT" for half-times, "M0" for surfacing M-values, or "dM" for slopes of M-values.

Details

This command extracts the tissue compartment parameters from a Haldane-type decompression model.

The argument model should be an object of class "hm" (created by hm or obtained using pickmodel).

See hm for explanation of the parameters.

Value

A vector containing the values of the specified parameter for each tissue compartment. If the model does not contain this data, NULL is returned.

Author(s)

\adrian

.

See Also

hm, pickmodel

Examples

   # halftimes for the DSAT model
   param(pickmodel("DSAT"), "N2", "HalfT")

scuba documentation built on Oct. 18, 2022, 5:06 p.m.