| phytoparam | R Documentation |
Estimate the phytosociological parameters and the Shannon–Wiener, Pielou, and Simpson diversity indices, using the quadrat or the point-centered quarter methods.
phytoparam(
x,
measure.label = NULL,
h = "h",
taxon = "taxon",
family = "family",
dead = "dead",
circumference = TRUE,
su = "quadrat",
height = TRUE,
quadrat = TRUE,
su.size,
d = "distance",
shape.factor = 1,
rm.dead = FALSE,
check.spelling = TRUE
)
x |
A |
measure.label |
Name of the column representing the circumference/diameter at
breast height. If omitted the function assumes the default names "cbh" or "dbh"
for circumference or diameter at breast height, respectively (see |
h |
Name of the column representing trunk height. Default is "h". |
taxon |
Name of the column representing the sampled taxa. Default is "taxon". Use UTF-8 encoding; accents and special characters are not allowed. |
family |
Name of the column representing the family names of the sampled taxa.
Default is "family". Used to calculate the number of individuals and number of
species per family. If you do not want these parameters, set |
dead |
String used to identify dead individuals. Default is "dead". |
circumference |
Logical. If |
su |
Name of the column representing the sample-unit identifier. Default is "quadrat" for the quadrat method and "point" for the point-centered quarter method. |
height |
Logical. If |
quadrat |
Logical. If |
su.size |
Numeric scalar giving the quadrat area ( |
d |
Name of the column representing the point-to-tree distance; required only
if |
shape.factor |
Numeric value between in 0 and 1, indicating the trunk shape.
Value |
rm.dead |
Logical. If |
check.spelling |
Logical. If |
The function estimates phytosociological parameters for tree communities sampled
by quadrat or point-centered quarter methods (quadrat = TRUE or FALSE,
respectively).
For the quadrat method, x must contain columns for sample-unit labels,
taxon names, and "cbh" or "dbh" measurements for each sampled tree. Additionally,
trunk height and family can be included to estimate volume and family-level parameters.
For the point-centered quarter method, x must contain (in addition to the
mandatory quadrat columns) a column for the distance from the point to each individual.
The "cbh"/"dbh" column accepts multiple-stem notation, e.g. "17.1+8+5.7+6.8".
The plus sign delimits stems. Decimal delimiter may be period or comma; spaces
around "+" are ignored. Column names in x are coerced to lowercase at runtime,
making matching case-insensitive. If x contains the default column names, the
arguments h, taxon, family, dead, su and d can be omitted.
Unbiased absolute density for the point-centered quarter method follows Pollard (1971) and Seber (1982).
Measurement units: individual "cbh"/"dbh" in centimeters; trunk height and point-to-individual distance in meters.
An object of class param with two or four data frames:
data: A data.frame containing the original community sample data,
added with a column of the individual basal area (ABi).
global: total parameters and diversity indices. Sampled area in hectares (ha),
total density in individuals/ha, total dominance in m^2 ha^{-1} (basal area) or m^3 ha^{-1}
(volume, when computed), and Shannon–Wiener H' in nats/individual (natural log).
param: taxon-level table with observed number of individuals (N), absolute/relative density (ADe, RDe),
absolute/relative frequency (AFr, RFr), absolute/relative dominance (ADo, RDo),
absolute/relative volume (AVol, RVol), Importance Value Index (IV),
and Cover Value Index (CV). Absolute parameters per hectare; relative parameters in percentage.
family: If family != NA, a table listing the number of individuals and the number of species
per family is presented.
vars: A list containing objects used in the functions AGB, stats and stratvol.
Pollard, J. H. (1971). On distance estimators of density in randomly distributed forests. Biometrics, 27, 991–1002.
Seber, G. A. F. (1982). The Estimation of Animal Abundance and Related Parameters. New York: Macmillan, pp. 41–45.
summary.param, plot.param
## Quadrat method
quadrat.param <- phytoparam(
x = quadrat.df, measure.label = "CBH", taxon = "Species",
dead = "Morta", family = "Family", circumference = TRUE, su = "Plot",
height = TRUE, su.size = 25, rm.dead = FALSE
)
summary(quadrat.param)
head(quadrat.param$data)
quadrat.param$global
quadrat.param$family
quadrat.param$param
## Point-centered quarter method
point.param <- phytoparam(
x = point.df, measure.label = "CBH", taxon = "Species",
dead = "Morta", family = "Family", circumference = TRUE, su = "Point",
height = TRUE, quadrat = FALSE, d = "Distance", rm.dead = FALSE
)
summary(point.param)
head(point.param$data)
point.param$global
point.param$family
point.param$param
## Using default column names
point.default <- point.df
colnames(point.default) <- c("point", "family", "taxon", "distance", "cbh", "h")
point.param.default <- phytoparam(
x = point.default, dead = "morta",
circumference = TRUE, height = TRUE, quadrat = FALSE
)
summary(point.param.default)
point.param.default$global
## Plotting
plot(quadrat.param)
plot(point.param)
plot(point.param, theme = "theme_light")
plot(point.param, theme = "theme_bw")
plot(point.param, theme = "theme_minimal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.