rescale.link.Rd
Rescale data depending on the link function provided
rescale.link(x, direction = "link", link = "logit")
A numeric vector of data to be rescaled
Can take either "link"
to convert data to a particular scale
as defined by the link
function, or "natural"
to return it to the natural scale.
A string indicating the link function to use in the model. Can take any link function
defined within JAGS (e.g. "logit"
, "log"
, "probit"
, "cloglog"
), be assigned the value "identity"
for
an identity link function, or be assigned the value "smd"
for modelling Standardised Mean Differences using an
identity link function. If left as NULL
the link function will be automatically assigned based
on the likelihood.
A rescaled numeric vector