Inpernal function: compute difference in the (transformed) outcome
get_v(y1, y2, lambda = NA, scaled = TRUE)
Numeric vector of the observed outcome at observation time 1.
Numeric vector of the observed outcome at observation time 2.
The Box-Cox transformation parameter. Default is NA
,
indicating no need for a transformation. See Details
.
Whether the difference in the transformed outomes should be scaled by the Jacobian.
Returns the difference in the observed outcomes if lambda =
NA
, or the difference in the scaled transformed outcomes with
transformation parameter lambda
.