laser.metrics: Compute the height and density variables from point cloud...

Description Arguments Value Note Author(s) References Examples

View source: R/laser.metrics.R

Description

Compute the height and density variables from point cloud data according to Naesset 2004.

Arguments

x

surface height

id

unique idenfitier for which variables will be aggregated

gtv

ground threshold value. Default is 2

ctv

canopy threshold value. Default is 95 percentile

percentiles

the percentiles to be computed. Defaults to seq(0.1,0.9,0.1)

prefix

optional prefix of varaible names

suffix

optional suffix of varaible names

distpre

indicator of distribution metrics. Default is "H"

denspre

indicator of density metrics. Default is "D"

Value

data.frame with the numbers and proportion of echoes in differnt categories.

Note

Date: Nov 2, 2016

Author(s)

Hans Ole Orka [email protected]

References

Næsset, E., & Gobakken, T. (2008). Estimation of above- and below-ground biomass across regions of the boreal forest zone using airborne laser. Remote Sens. Environ., 112, 3079-3090

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(las)
#First returns
las1 <- subset(las,r==1)
Vars1 <- laser.metrics(las1$z,las1$ID,gtv=1.3,suffix='.F')
head(Vars1)

# Last returns uten single! 
las2 <- subset(las,r==n & r != 1) 
Vars2 <- laser.metrics(las2$z,las2$ID,gtv=1.3,suffix='.L')

head(Vars2)

hansoleorka/lasR documentation built on Nov. 22, 2018, 3:40 a.m.