View source: R/invasion_signal.R
| invasion_signal | R Documentation |
This function must be run before all prediction/evaluation steps.
invasion_signal(prepared)
prepared |
Output of prepare_invasible() #' |
Computes Fritz & Purvis D statistic
Fits phylogenetic logistic regression
Extracts phylogenetic dependence parameter (alpha)
Returns an "invasible_signal" object for prediction functions
An object of class invasible_signal, a list containing:
,
species_list <- fish_beginning_with_E
prep <- prepare_invasible(species_list)
signal <- invasion_signal(prep)
signal$D
signal$p_random
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.