powered by
Lognormal distribution family for positive continuous responses
lognormal(meanlog_or_link = "identity", sdlog = 1, link = NULL, ...)lognormal(meanlog_or_link = "identity", sdlog = 1, link = NULL, ...)lognormal_prior(meanlog_or_link = 0, sdlog = 1)
lognormal(meanlog_or_link = "identity", sdlog = 1, link = NULL, ...)
lognormal_prior(meanlog_or_link = 0, sdlog = 1)
A family object for use with qbrms()
A family object or prior object depending on inputs.
Mean on log scale (numeric) or link function (character).
SD on log scale (numeric).
Optional link function (if acting as family).
Additional arguments.
if (FALSE) { # Lognormal regression fit <- qbrms(response ~ predictor, data = data, family = lognormal()) }
Run the code above in your browser using DataLab