apache3_score: Calculate APACHE III Acute Physiologic Score

View source: R/apache3.R

apache3_scoreR Documentation

Calculate APACHE III Acute Physiologic Score

Description

apache3_score calculates the APS score for an APACHE III variable

Usage

apache3_score(x, ...)

## Default S3 method:
apache3_score(x, ...)

## S3 method for class 'temp'
apache3_score(x, ...)

## S3 method for class 'map'
apache3_score(x, ...)

## S3 method for class 'hr'
apache3_score(x, ...)

## S3 method for class 'rr'
apache3_score(x, ...)

## S3 method for class 'ph'
apache3_score(x, ..., pco2)

## S3 method for class 'sodium'
apache3_score(x, ...)

## S3 method for class 'scr'
apache3_score(x, ..., arf)

## S3 method for class 'uop'
apache3_score(x, ...)

## S3 method for class 'bun'
apache3_score(x, ...)

## S3 method for class 'hct'
apache3_score(x, ...)

## S3 method for class 'wbc'
apache3_score(x, ...)

## S3 method for class 'bili'
apache3_score(x, ...)

## S3 method for class 'albumin'
apache3_score(x, ...)

## S3 method for class 'glucose'
apache3_score(x, ...)

## S3 method for class 'pao2'
apache3_score(x, ...)

## S3 method for class 'aa_grad'
apache3_score(x, ...)

## S3 method for class 'age'
apache3_score(x, ...)

## S3 method for class 'admit'
apache3_score(x, ..., comorbidity)

Arguments

x

A numeric vector with an icuriskr class type

...

additional arguments passed on to individual methods

pco2

a numeric vector, the PCO2 value

arf

a logical vector, indicates whether the patient as acute renal failure

comorbidity

a character vector, indicates the patient's primary comorbidity

Details

This is an S3 generic function for calculating the Acute Physicologic Score (APS) for a variable based on the APACHE III scoring system.The function invokes the appropriate method based on the type of data (i.e., temperature, mean arterial pressure, etc.).


bgulbis/icuriskr documentation built on June 18, 2022, 1:33 a.m.