Description Usage Arguments Value See Also Examples
This function carries out the bayesian modeling process with spatial cross-validation as described in Allen and Kim (2020). Given a focal-competitor data frame, it appends a column with predicted growth values.
1 2 3 4 5 6 7 |
focal_vs_comp |
data frame from |
comp_dist |
Distance to determine which neighboring trees to a focal tree are competitors. |
blocks |
An sf object of a |
prior_param |
A list of |
run_shuffle |
boolean as to whether to run permutation test shuffle of competitor tree species within a particular focal_ID |
focal_vs_comp
with new column of predicted growth_hat
Other modeling functions:
comp_bayes_lm()
,
create_bayes_lm_data()
,
predict.comp_bayes_lm()
1 2 3 4 5 | run_cv(
focal_vs_comp_ex,
comp_dist = 1,
blocks = blocks_ex
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.