VectorPos_bounds: Discretization of a continuous trait value into a probability vector.
Description
Internal function used for likelihood calculation and simulation.
Usage
VectorPos_bounds(x, V, bounds)
Arguments
x
A numeric value of the trait or a vector containing multiple measurements.
V
The evolutionary potential used
bounds
A vector with the values of both bounds.