# NOT RUN {
# }
# NOT RUN {
data(TLS_scan)
#Using a multiple return file
#Select the four columns required
TLS_scan <- TLS_scan[, 1:4]
#This will take a while#
a <- canopy_structure(TLS.type = "multiple",
scan = TLS_scan,
zenith.range = c(50, 70),
zenith.rings = 4,
azimuth.range = c(0, 360),
vertical.resolution = 0.25,
TLS.pulse.counts = c(2082, 580),
TLS.frame = c(30, 130.024, 0, 359.90),
TLS.angles = c(1.026, 0.760, -110.019))
#Using a single return file
data(TLS_scan)
#Subset to first return observations
TLS_scan <- TLS_scan[Target_index == 1, 1:3]
#This will take a while#
canopy_structure(TLS.type = "single",
scan = TLS_scan,
zenith.range = c(50, 70),
zenith.rings = 4,
azimuth.range = c(0, 360),
vertical.resolution = 0.25,
TLS.pulse.counts = c(2082, 580),
TLS.frame = c(30, 130.024, 0, 359.90),
TLS.angles = c(1.026, 0.760, -110.019))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab