check_multi_daisie_data: Check if an 'multi_daisie_data' is valid for both...

View source: R/check_multi_daisie_data.R

check_multi_daisie_dataR Documentation

Check if an multi_daisie_data is valid for both ideal_multi_daisie_data and empirical_multi_daisie_data. Will stop if not.

Description

An multi_daisie_data ...

Usage

check_multi_daisie_data(multi_daisie_data)

Arguments

multi_daisie_data

A list of daisie_data elements

Details

  • is a list of daisie_data, see check_daisie_data

  • has at least 1 element

Value

nothing

Author(s)

Richèl J.C. Bilderbeek, Joshua W. Lambert

Examples

daisie_mainland_data <- sim_island_with_mainland(
  total_time = 1,
  m = 100,
  island_pars = c(1, 1, 50, 0.1, 1),
  mainland_ex = 0.5,
  mainland_sample_prob = 1,
  mainland_sample_type = "complete",
  replicates = 1,
  verbose = FALSE
)
check_multi_daisie_data(daisie_mainland_data$ideal_multi_daisie_data)
check_multi_daisie_data(daisie_mainland_data$empirical_multi_daisie_data)

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