Learn R Programming

forestr (version 2.0.2)

adjust_by_user: Adjust by user height

Description

adjust_by_user adjusts data based on the user height to acccount for the laser's distance from the ground.

Usage

adjust_by_user(df, user_height)

Arguments

df

the data frame of raw pcl data

user_height

the height of the laser off the ground as mounted on the user in meters

Value

a data frame adjusted by height

Details

The function adjust_by_user simply adds the height of the user to the return distances in the data frame to estimate true height.

Examples

Run this code
# NOT RUN {
# Adust raw data to account for user height as PCL is user-mounted and correction
# gives actual distance from ground.

pcl_adjusted <- adjust_by_user(pcl_coded, user_height = 1.05)

# }

Run the code above in your browser using DataLab