spell_type: spell_type

View source: R/standard_dataset.R

spell_typeR Documentation

spell_type

Description

spell_type

Usage

spell_type(spell_episode_types)

Arguments

spell_episode_types

a vector containing the episode types for episodes within one spell in hospital.

Value

the type of the spell - if all episode types are equal, this unique type is the type of the spell, otherwise the type of the spell is 'Mixed'.


HorridTom/hospitalflow documentation built on June 14, 2022, noon