Man pages for TheoPannetier/comrad
R implementation of a Competitive Radiation model

apply_mutationsApply random mutations to a community
apply_speciationResolve speciation in a comrad community
build_spp_tblExtracts phylogenetic information from a 'comrad' simulation
check_dd_model_is_availCheck that the requested DD model is available in 'DDD'
ddd_optimizerOptimizer functions from package DDD
dd_func_coloursColours associated with each DD function
dd_func_namesNames of the DD functions
dd_loglik_funcLog-likelihood function of a diversity-dependent model given...
dd_model_coloursColours associated with each DD model
dd_model_comrad_to_dddValues of 'DDD' argument 'ddmodel' corresponding to 'comrad'...
dd_model_lcDiversity-dependent model with linear (l) dependence on...
dd_model_llDiversity-dependent model with linear (l) dependence on...
dd_model_lpDiversity-dependent model with linear (l) dependence on...
dd_model_lxDiversity-dependent model with linear (l) dependence on...
dd_model_namesNames of DD models implemented in 'comrad'
dd_model_pcDiversity-dependent model with power (p) dependence on...
dd_model_plDiversity-dependent model with power (p) dependence on...
dd_model_ppDiversity-dependent model with power (p) dependence on...
dd_model_pxDiversity-dependent model with power (p) dependence on...
dd_modelsList of all diversity-dependent models
dd_model_to_extinction_funcFind DD extinction function associated with a DD model
dd_model_to_speciation_funcFind DD speciation function associated with a DD model
dd_model_xcDiversity-dependent model with exponential (x) dependence on...
dd_model_xlDiversity-dependent model with exponential (x) dependence on...
dd_model_xpDiversity-dependent model with exponential (x) dependence on...
dd_model_xxDiversity-dependent model with exponential (x) dependence on...
default_params_docDocumentation for main parameters of the model
default_parsDefault parameter values
draw_comm_next_genDraw a new community from the current one
draw_init_params_dd_mlDraw a set of initial parameter values for a DD model
draw_nb_offspringDraw a number of offspring given a fitness value
exclude_ephemeral_sppExclude ephemeral species
find_trait_gapsFind gaps in trait values
fit_dd_model_with_fossilFit a diversity-dependent diversification model to...
fit_dd_model_without_fossilFit a diversity-dependent diversification model to...
fitness_funcFitness functions
get_carrying_capGet the carrying capacity for a given trait value
get_comp_coeff_commGet the competition coefficients between an individual and...
get_dnlttCompute the delta nLTT between two trees
get_edge_tblGet a table with node and edge info
get_fitnessCompute fitness values
get_fitness_landscapeCompute the fitness along a range of trait values, given a...
get_ltt_tblGet a lineage-through-time table
get_n_effCompute the effective population size
get_root_ageGet the age of the root of a tree
has_brute_force_optAre brute force options available?
interpolate_lttInterpolate LTT for a given time sequence
ltt_tbl_to_funcTransform the LTT table into a step function
pipePipe operator
plot_aicw_piePlot Akaike weights as a pie chart
plot_comm_bubblesPlot population densities and trait distribution over time,...
plot_comm_sizePlot community size over generations
plot_comm_trait_evolutionPlot the evolution of trait values in the community over...
plot_comm_traitsPlot trait distribution in a generation
plot_comm_traits_animPlot an animation of trait distribution through generations
plot_compare_dd_functionsQuickly compare the three diversity-dependent functions
plot_dd_func_coloursPlot a key to the colours used to represent DD functions
plot_dd_model_coloursPlot a key to the colours used to represent DD models
plot_fitness_landscapePlot the fitness landscape at a given time in the simulation
plot_fitness_landscape_evolPlot the fitness landscape in a 'comrad' simulation over time
plot_trait_disparityPlot trait disparity over time
rand_commSample a random 'comrad' community
rates_from_dd_modelGet speciation and extinction rates values given a DD model...
rates_from_exp_distEstimate diversity-dependent rates from mean parameter of the...
read_comrad_tblRead simulation data
run_simulationRun the simulation
set_sampling_freqSet default sampling frequency
sim_to_phyloConvert 'comrad' simulation results into a phylogeny
simulate_dd_phyloSimulate a phylogeny with a diversity-dependent birth-death...
sort_by_refSort a vector by ascending value
stem_or_crownFind wheter origin is stem or crown lineages
summarise_aicw_over_treesAverage AICw scores over all replicate trees
summarise_waiting_timesSummarise waiting times data set
testargsAssert a function argument is of correct type
transform_parsTransforming parameters from -Inf to Inf into parameters from...
untransform_parsUntransforming parameters from -1 to 1 into parameters from...
waiting_timesExtract times to events from a phylogeny
write_newick_strConvert a species history table to a Newick string
TheoPannetier/comrad documentation built on April 8, 2023, 8:06 a.m.