| rateMapControl | R Documentation |
rateMap() OptionsBuild a control object for less common rateMap() settings. These options are
useful for interval maps, same-topology tree samples, custom fit object
shapes, invalid-fit handling, and future-based parallel scheduling.
rateMapControl(
res = 100,
check = TRUE,
target = c("first", "mcc"),
tree_fun = NULL,
param_fun = NULL,
na_action = c("error", "omit"),
rate_flags = rateMapRateFlags(),
quantile_probs = c(0.025, 0.975),
highest_density_interval_prob = 0.95,
future_strategy = c("multisession", "multicore"),
future_seed = FALSE,
future_scheduling = 1,
future_chunk_size = NULL
)
res |
Integer resolution of the global depth grid used to subdivide
target-tree branches when |
check |
Logical or character check mode. |
target |
Character target-tree selection when |
tree_fun |
Optional function used to extract a mapped tree from each
element of |
param_fun |
Optional function used to extract a named numeric vector of
state-specific fitted rates from each element of |
na_action |
What to do when a run has invalid parameters. |
rate_flags |
A |
quantile_probs |
Numeric length-2 vector of quantile probabilities to
report when |
highest_density_interval_prob |
Numeric scalar giving the
highest-density interval mass to report when |
future_strategy |
Future backend used only when |
future_seed |
Seed control passed to |
future_scheduling |
Scheduling control passed to
|
future_chunk_size |
Chunk size passed to
|
A "rateMap_control" object for the control argument of
rateMap().
ctrl <- rateMapControl(
res = 200,
check = "topology",
na_action = "omit",
rate_flags = rateMapRateFlags(zero_floor = 1e-8)
)
ctrl[c("res", "check", "na_action")]
ctrl$rate_flags[c("method", "zero_floor")]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.