Learn R Programming

BBMV (version 2.1)

trans_from_fixed: Linear transformations

Description

Internal function used to convert back and forth between the actual trait interval and [-1.5;1.5]

Usage

trans_from_fixed(x, bounds)
trans_to_fixed(x, bounds)

Arguments

x

A single value or vector of trait values.

bounds

The actual bounds on the trait interval

Value

A single value or vector of trait values transformed to the other interval.