These functions were in earlier versions, but will no
longer be maintained in this package. They will likely be moved to
another package a some time.
Usage
vech(M)
inv.vech(y)
logit(p)
inv.logit(x)
log_inv.logit(x)
Arguments
M
a matrix
y
A vector of conforming length
p
A scalar, vector or matrix, where each element is between
0 and 1.
x
A scalar, vector or matrix
Value
A vector containing the lower triangle of M, ordered column-wise.A k x k lower triangular matrixresult = log(p/(1-p))result = exp(x)/(1+exp(x))result = log[exp(x)/(1+exp(x))]