adjust_by_user: Adjust by user height

View source: R/adjust_by_user.R

adjust_by_userR Documentation

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

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

# 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)


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