log_reg_coef | R Documentation |
Logistic regression coeficients. Calculates the coefficients of a logistic regression. Use an incidence matrix of pest - host interaction and a phylogenetical distance matrix of host.
log_reg_coef(incidence, phydist)
incidence |
Incidence binary matrix between pest - host interaction |
phydist |
Phylogenetic host distance matrix |
incidence_matrix <- get_incidence_matrix(db = beetleTreeInteractions)
incidence_matrix <- incidence_matrix[, colnames(phy_dist)]
log_reg_coef(incidence_matrix, phy_dist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.