bh_invert: Change sign of compressive test

View source: R/old_code/bluehill_functions.2.R View source: R/bluehill_functions.R

bh_invertR Documentation

Change sign of compressive test

Description

Compression is defined as negative, so compressive tests have negative Load and Extension. Bluehill provides Compressive Load and Compressive Extension, but these are not in every test, so this function inverts Load and Extension so that every test will be the same way up (i.e. move from low to high extension and low to high load).

Usage

bh_invert(study_data)

Arguments

study_data

A data.table containing at least columns for Load and Extension.

Value

The same data.table with -1.0 * Load and -1.0 * Extension


yadbor/bluer documentation built on Jan. 31, 2023, 7:44 p.m.