code_hits function

Code hits

Code hits

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

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)