mtransform(x, p, inv = FALSE, drp = FALSE)
p
is a list with the same length
as the vector, it is treated as a matrix with one row. If
p
is not a list, it is treated as a matrix with one
x
. The values $(a_i,b_i,s_i)$ are contained in the ith
row of the n by 3 matrix p
. If p
is a vector
of length three, the parameters are the same for every
$i = 1,\ldots,n$. Alternatively, p
can be a list
with d elements, in which case the jth element is used to
transform the jth column of x
.
This function is mainly for internal use. It is used by bivariate and multivariate routines to calculate marginal transformations.