g
A formula representing the transformation. The variables must be
labelled x1, x2, ... For example, ~ 1 / (x1 + x2).
If the transformation returns a vector, then a list of formulae representing
(g1, g2, ...) can be provided, for example list( ~ x1 +
x2, ~ x1 / (x1 + x2) ).
ses
If TRUE, then the standard errors of g1(X), g2(X),
... are returned. Otherwise the covariance matrix of g(X) is returned.