create_intub: Create Intubation Variable

View source: R/create_intub.R

create_intubR Documentation

Create Intubation Variable

Description

This function creates a new variable indicating whether a patient was intubated, regardless of whether the intubation was performed prehospital or in the emergency department. The result is a vector containing the intubation status for each patient.

Usage

create_intub(data)

Arguments

data

A data frame containing the data from which the intubation variable will be created.

Value

A vector indicating the intubation status for each patient.

Examples

data$intub <- create_intub(data)


martingerdin/rofi documentation built on Dec. 3, 2024, 12:10 a.m.