event_to_str: Convert an event to a string

View source: R/sim_utils.R

event_to_strR Documentation

Convert an event to a string

Description

Convert an event to a string:

Usage

event_to_str(possible_event)

Arguments

possible_event

Numeric defining what event will happen.

Details

Value String
1 immigration
2 extinction
3 anagenesis
4 cladogenesis

Value

the event as a string

Author(s)

Richèl J.C. Bilderbeek

See Also

use str_to_event to convent a string to an event

Examples

DAISIEmainland:::event_to_str(1)
DAISIEmainland:::event_to_str(2)
DAISIEmainland:::event_to_str(3)
DAISIEmainland:::event_to_str(4)

joshwlambert/DAISIEmainland documentation built on July 14, 2024, 5:40 p.m.