daisie_data_colonist_info_to_colonisation_times_table: Internal function

View source: R/daisie_data_to_tables.R

daisie_data_colonist_info_to_colonisation_times_tableR Documentation

Internal function

Description

Convert the non-header part of a daisie_data into a tabular format, containing, for each colonist, the colonisation time.

Usage

daisie_data_colonist_info_to_colonisation_times_table(
  daisie_data_colonist_info
)

Arguments

daisie_data_colonist_info

an element of a daisie_data, that is not the first element (the first element is of type daisie_data_header).

Details

Due to the coding of DAISIE, this is not straightforward:

  • If there are no colonisations, an empty table is produced

  • If there is one colonisation, the second event_times are used (the first event_times is the island age)

  • If there are two or more colonisations, the second event_times in each all_colonisations element is used (the first event_times is the island age)

Value

a table with as much rows as colonisation times

Author(s)

Richèl J.C. Bilderbeek

See Also

use daisie_data_colonist_info_to_braching_times_table to obtain the branching times of the colonists


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