adjust_by_user: Adjust by user height

Description Usage Arguments Details Value Examples

View source: R/adjust_by_user.R

Description

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

Usage

1
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

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.

Value

a data frame adjusted by height

Examples

1
2
3
4
# 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)

forestr documentation built on April 17, 2020, 1:26 a.m.