focal_vs_comp_ex {forestecology} | R Documentation |
Example focal versus comp data frame
Description
This is an example focal versus comp data frame. The rows are focal trees which are repeated for all competitor trees within a specified distance from them. In this case that distance is 1. This is the focal versus comp for growth_spatial_ex.
Usage
focal_vs_comp_ex
Format
- focal_ID
Tree identification number for the focal tree
- focal_sp
Species of the focal tree
- dbh
Diameter at breast height of the focal tree at the first census
- foldID
The CV-fold that the focal tree is in
- geometry
The point location of the focal tree
- growth
The average annual growth of the focal tree between censuses
- comp
A list-column: characteristics of the relevant competitor trees
The comp
list-column contains tibble::tbl_dfs with columns:
- comp_ID
Tree identification number for the competitor tree
- dist
The distance between the focal and comp tree, this will be less than the max distance specified.
- comp_sp
Species of the comp tree
- comp_x_var
Numerical variable associated with comp tree
See Also
Other example data objects:
blocks_ex
,
census_1_ex
,
census_2008_bw
,
census_2014_bw
,
census_2_ex
,
comp_bayes_lm_ex
,
growth_ex
,
growth_spatial_ex
,
growth_toy
,
species_bw
,
study_region_bw
,
study_region_ex
Examples
comp_bayes_lm_ex <- focal_vs_comp_ex %>%
comp_bayes_lm(prior_param = NULL, run_shuffle = FALSE)