Learn R Programming

scuba (version 1.8-0)

param: 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.

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.

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.

See Also

hm, pickmodel

Examples

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

Run the code above in your browser using DataLab