Description Usage Arguments Details Value Examples
Create a vector of wood density for each individual tree based on the species name and plot.
1 | density_ind(df, plot, wsgdata, denscol = "wsg")
|
df |
The table of individuals; must include a dbh and a species name, the latter named sp. |
plot |
Character string giving the name of the plot where the data comes from (as it appears in the names of the R Analytical Tables). |
wsgdata |
A table of wood density; this table must have columns:
|
denscol |
Name of the column in |
If a species is not found in the correct plot, then the mean wood density of all species in the same plot is taken. The function fails (returns only NAs) if there are no entries for the selected plot in the wood-density table.
Name density.ind clashed with an S3 method, so it was replaced by density_ind.
A vector of wood density of the same size as the df table submitted.
If you need a dummy wood density table to feed the wsg argument see
wsgdata_dummy()
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.