bind_colonist_to_tbl {DAISIEprep}R Documentation

Takes an existing instance of an Island_tbl class and bind the information from the instance of an Island_colonist class to it

Description

Takes an existing instance of an Island_tbl class and bind the information from the instance of an Island_colonist class to it

Usage

bind_colonist_to_tbl(island_colonist, island_tbl)

Arguments

island_colonist

An instance of the Island_colonist class.

island_tbl

An instance of the Island_tbl class.

Value

An object of Island_tbl class

Examples

island_colonist <- DAISIEprep::island_colonist(
  clade_name = "bird",
  status = "endemic",
  missing_species = 0,
  col_time = 1,
  col_max_age = FALSE,
  branching_times = 0.5,
  species = "bird_a",
  clade_type = 1
)
island_tbl <- island_tbl()
bind_colonist_to_tbl(
  island_colonist = island_colonist,
  island_tbl = island_tbl
)

[Package DAISIEprep version 0.4.0 Index]