# Load a data set
data(NouraguesTrees)
# Compute the Wood Density up to the genus level and give the mean wood density of the dataset
# \donttest{
WD <- getWoodDensity(
genus = NouraguesTrees$Genus,
species = NouraguesTrees$Species
)
# }
# Compute the Wood Density up to the genus level and then give the mean wood density per stand
# \donttest{
WD <- getWoodDensity(
genus = NouraguesTrees$Genus,
species = NouraguesTrees$Species,
stand = NouraguesTrees$plotId
)
# }
# Compute the Wood Density up to the family level and then give the mean wood density per stand
# \donttest{
WD <- getWoodDensity(
family = NouraguesTrees$family,
genus = NouraguesTrees$Genus,
species = NouraguesTrees$Species,
stand = NouraguesTrees$plotId
)
str(WD)
# }
Run the code above in your browser using DataLab