#' @param llasn list of LAS objects (from lidR package)
#' @param XY a dataframe or matrix with XY coordinates of plot centers
#' @param plot.radius numeric. plot radius in same unit as coordinates of LAS objects
#' @param plot.radius numeric. plot radius in meters
#' @param res numeric. resolution of canopy height model computed with \code{\link{points2DSM}} before tree segmentation
#' @param func a function to be applied to the attributes of extracted trees (return from internal call to treeExtraction function to compute plot level metrics
#' @param func a function to be applied to the attributes of extracted trees (return from internal call to \code{\link{treeExtraction}} function to compute plot level metrics
#' @param ... other parameters to be passed to \code{\link{treeSegmentation}}
#' @return a dataframe with tree metrics in columns corresponding to LAS objects of the list (lines)
@@ -12,11 +12,11 @@ cloudTreeMetrics(llasn, XY, plot.radius, res = 0.5,
\item{XY}{a dataframe or matrix with XY coordinates of plot centers}
\item{plot.radius}{numeric. plot radius in same unit as coordinates of LAS objects}
\item{plot.radius}{numeric. plot radius in meters}
\item{res}{numeric. resolution of canopy height model computed with \code{\link{points2DSM}} before tree segmentation}
\item{func}{a function to be applied to the attributes of extracted trees (return from internal call to treeExtraction function to compute plot level metrics}
\item{func}{a function to be applied to the attributes of extracted trees (return from internal call to \code{\link{treeExtraction}} function to compute plot level metrics}
\item{...}{other parameters to be passed to \code{\link{treeSegmentation}}}
}
...
...
@@ -49,7 +49,7 @@ cloudTreeMetrics(llas,
# number of detected trees between 20 and 30 meters and their mean height