code_hits: Code hits

View source: R/code_hits.R

code_hitsR Documentation

Code hits

Description

code_hits classifies data values as canopy returns, sky returns, or data markers.

Usage

code_hits(df)

Arguments

df

a raw set of pcl data

Details

The function code_hits accounts for the NAs that are in the return distance column which are actually the sky hits (i.e. when the lidar does not record a canopy hit).

Examples

# classify data values that have been imported using read_pcl
pcl_coded <- code_hits(pcl_data)


atkinsjeff/forestr documentation built on Dec. 12, 2023, 5:36 a.m.