Fitting and Assessing Neighborhood Models of the Effect of Interspecific Competition on the Growth of Trees
Identify trees in the buffer region
Plot Bayesian model parameters
Fit Bayesian competition model
Compute buffer to a region.
Compute growth of trees
Create input data frame for Bayesian regression
Create focal versus competitor trees data frame
Return all pairwise distances between two data frames of trees
forestecology
package
Pipe operator
Make predictions based on fitted Bayesian model
Objects exported from other packages
Run the bayesian model with spatial cross validation
Code for fitting and assessing models for the growth of trees. In particular for the Bayesian neighborhood competition linear regression model of Allen (2020): methods for model fitting and generating fitted/predicted values, evaluating the effect of competitor species identity using permutation tests, and evaluating model performance using spatial cross-validation.
Useful links