saps2_score: Calculate SAPS II Score

View source: R/saps2.R

saps2_scoreR Documentation

Calculate SAPS II Score

Description

saps2_score calculates the saps score for an SAPS II variable

Usage

saps2_score(x, ...)

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

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

## S3 method for class 'sbp'
saps2_score(x, ...)

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

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

## S3 method for class 'potassium'
saps2_score(x, ...)

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

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

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

## S3 method for class 'gcs'
saps2_score(x, ...)

## S3 method for class 'hco3'
saps2_score(x, ...)

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

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

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

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

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

Arguments

x

A numeric vector with an icuriskr class type

...

additional arguments passed on to individual methods

Details

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


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