Given the ternary coordinates of the starting point of the curve, it generates the path of arrows until the edge of the ternary plot is reached.
gen_path(p0, DeltaB, edge = 0.01, nmax = Inf, flink)starting point of the curve.
either a matrix \(\Delta^TB\in\textbf{R}^{1\times 2}\)
or a vector of length 2, if the model is categorical; otherwise
a matrix \(\Delta^TB\in\textbf{R}^{1\times 1}\) or a numeric,
if the model is ordinal.
width of the border of the ternary plot.
maximum number of vectors.
named list of two functions: P2XB
and XB2P. The former is the link function, whereas
the latter is its inverse.
Object of class list, where each component is a list of
two components: the ternary coordinates of the starting point
of the arrow, and the ternary coordinates of the tip of the
arrow.