View source: R/default_params_doc.R
default_params_doc | R Documentation |
Documentation for function arguments in the DAISIEmainland package
default_params_doc(
branch_code,
branching_times,
event_times,
missing_species,
stac,
timeval,
total_time,
gam,
laa,
lac,
mu,
k,
num_spec,
num_immigrants,
mainland_n,
island_tbl,
multi_mainland_clade,
mainland_clade,
mainland_spec,
mainland_sample_prob,
mainland_sample_type,
m,
verbose,
rates,
island_pars,
mainland_ex,
replicates,
possible_event,
max_spec_id,
mainland_scenario,
anc_branch_t_bp,
subset_island,
daisie_mainland_data,
daisie_data,
ideal_daisie_data,
empirical_daisie_data,
ideal_or_empirical_island,
species_type,
ideal_ml,
empirical_ml,
sim_params,
param_set,
data_folder_path,
output_file_path,
param_space,
parameter,
plotting_data,
breaks,
num_breaks,
signif,
scientific,
transform,
mainland,
age,
multi_daisie_data,
analysis_result,
analysis_results,
labels,
branch_colour
)
branch_code |
a species' branching pattern,
as checked by check_branch_code, e.g. |
branching_times |
island age and stem age of the population/species in the case of Non-endemic, Non-endemic_MaxAge and Endemic anagenetic species. For cladogenetic species these should be island age and branching times of the radiation including the stem age of the radiation. See check_branching_times for a more detailed description. |
event_times |
the island age, stem age of species, and -for cladogenetic species- speciation times, as checked by check_event_times |
missing_species |
the number of island species that were not sampled for particular clade (only applicable for endemic clades), as can be checked by check_missing_species |
stac |
the status of the colonist, see stac_to_str for values and meanings |
timeval |
Numeric defining current time of simulation. |
total_time |
Numeric defining the length of the simulation in time units. |
gam |
Numeric with the per capita immigration rate. |
laa |
Numeric with the per capita anagenesis rate. |
lac |
Numeric with the per capita cladogenesis rate. |
mu |
Numeric with the per capita extinction rate. |
k |
Numeric with carrying capacity. |
num_spec |
Numeric with the current number of species. |
num_immigrants |
Numeric with the current number of non-endemic species. |
mainland_n |
Numeric stating the number of mainland species that can colonize the island. |
island_tbl |
Data frame with current state of simulation containing
number of species, see |
multi_mainland_clade |
A list of data frames each data frame is an
|
mainland_clade |
Data frame with state of mainland, see
|
mainland_spec |
Numeric focal species on the mainland |
mainland_sample_prob |
Numeric between zero and one determining the probability of an extant mainland species being sampled. |
mainland_sample_type |
String either "unsampled" for unsampled known species on the mainland, "undiscovered" for undiscovered species on the mainland, or "complete" if the mainland sampling probability is one. |
m |
Numeric defining the size of mainland pool. |
verbose |
Logical, determining if progress output should be printed during the simulation. |
rates |
named list of numeric rates as returned by calc_rates. |
island_pars |
A numeric vector containing the parameters for the island:
|
mainland_ex |
Numeric parameter for mainland extinction rate. |
replicates |
Integer specifying number of island replicates to be simulated. |
possible_event |
Numeric defining what event will happen. |
max_spec_id |
Current species IDs. |
mainland_scenario |
Integer determining which mainland clade scenario is produced |
anc_branch_t_bp |
Numeric ancestral branching time before the present of the immigrant species ancestor and its extant relative on the mainland |
subset_island |
Data frame of island species that originated from a single colonisation event |
daisie_mainland_data |
list containing data of a DAISIE simulation with mainland dynamics, as produced by sim_island_with_mainland and checked by check_daisie_mainland_data A
|
daisie_data |
a DAISIE A A The first element of the list has two or three components:
Then, depending on whether a distinction between types is made, we have:
or:
The remaining elements of
the
|
ideal_daisie_data |
a list, of which each element contains the history of a DAISIE simulation with mainland dynamics, with a length that equals the number of replicates. The simulated history is recorded perfectly, resulting in ideal data.
The list elements are of type |
empirical_daisie_data |
a list, of which each element contains the history of a DAISIE simulation with mainland dynamics, with a length that equals the number of replicates The simulated history is recorded as an empiricist would,
resulting in imperfect data.
The list elements are of type |
ideal_or_empirical_island |
the evolutionary history of an island from ideal or empirical data, as created by sim_island
For recolonising lineages, there is an extra element,
|
species_type |
a string. Can be |
ideal_ml |
List containing maximum likelihood estimates from DAISIE
fitted to ideal data produced from |
empirical_ml |
List containing maximum likelihood estimates from DAISIE
fitted to empirical data produced from |
sim_params |
Vector of five numerics for the values of cladogenesis, extinction, carrying capacity, immigration and anagenesis used to simulate data |
param_set |
Numeric for the index of the parameter set from the parameter space |
data_folder_path |
String specifying the directory the data is read from |
output_file_path |
String specifying the directory the file is saved in, if NULL the file is returned to console and not saved |
param_space |
String specifying which parameter space results to read. Either "general", "mainland_ex", or "mainland_sample_prob" |
parameter |
String specifying which parameter is plotted. "mainland_ex" plots mainland extinction as the variable, "mainland_sample_prob" plots mainland sampling probability as the variable and "both" plots all the data |
plotting_data |
Numeric vector of data points |
breaks |
A vector of numerics |
num_breaks |
A numeric specifying how many breaks are wanted on the plot axes |
signif |
A numeric specifying how many significant figures the axes labels have when plotting |
scientific |
A boolean determining whether the axis labels will be converted to scientific notation |
transform |
Either |
mainland |
the evolutionary history of the mainland species, as created by sim_mainland. Use plot_mainland to visualise the that evolutionary history. |
age |
Numeric defining age of singleton species |
multi_daisie_data |
A list of |
analysis_result |
A list containing ouput from the run_analysis script.
The list can be checked with |
analysis_results |
A list of |
labels |
A string or vector of strings to label the plotting grid |
branch_colour |
A string, either "unique_species_id" or "clade_id" to colour the branches of the mainland tree(s) with one of the attributes. |
Nothing
Joshua W. Lambert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.