ImpliedWeightingOptions | R Documentation |
ImpliedWeightingOptions
is an R6 class that defines the set of options
for using (extended) implied weighting with phylogenetic analyses in
nitro
.
k
A numeric value indicating the concavity constant to apply
during an implied weights analysis. When multi_k
is
TRUE
, k
represents the concavity for a character with
no missing entries and serves as the basis for calculating per-site
concavity constants.
multi_k
A logical value indicating whether each character will be
given an independent concavity constant based on the value of k
during an implied weights analysis.
proportion
A numeric value indicating the proportion of homoplasy
missing values are assumed to have under implied weighting. This
parameter is only valid when multi_k
is TRUE
. A
proportion of 0 is equivalent to standard implied weighting, with
multi_k
set as FALSE
.
max_ratio
A numeric value indicating the maximum acceptable ratio
between two k values when multiple concavity constants are used (i.e.,
when multi_k
is TRUE
). A maximum ratio of 1 is
equivalent to standard implied weighting, with multi_k
set as
FALSE
.
new()
ImpliedWeightingOptions$new( k = 3, multi_k = FALSE, proportion = 0.5, max_ratio = 5 )
k
A numeric value indicating the concavity constant to apply during
an implied weights analysis. When multi_k
is TRUE
, k
represents the concavity for a character with no missing entries and
serves as the basis for calculating per-site concavity constants.
multi_k
A logical value indicating whether each character will be
given an independent concavity constant based on the value of k
during an implied weights analysis.
proportion
A numeric value indicating the proportion of homoplasy
missing values are assumed to have under implied weighting. This parameter
is only valid when multi_k
is TRUE
. A proportion of 0 is
equivalent to standard implied weighting, with multi_k
set as
FALSE
.
max_ratio
A numeric value indicating the maximum acceptable ratio
between two k values when multiple concavity constants are used (i.e.,
when multi_k
is TRUE
). A maximum ratio of 1 is equivalent
to standard implied weighting, with multi_k
set as FALSE
.
print()
ImpliedWeightingOptions$print(...)
...
Ignored.
queue()
ImpliedWeightingOptions$queue(...)
...
Ignored.
clone()
The objects of this class are cloneable with this method.
ImpliedWeightingOptions$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.