Learn R Programming

forestr (version 2.0.2)

code_hits: 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

Run this code
# NOT RUN {
# classify data values that have been imported using read_pcl
pcl_coded <- code_hits(pcl_data)

# }

Run the code above in your browser using DataLab