Binary responses (0 or 1). See Binomial and Bernoulli for worked examples.
Examples
# Fit a binary-response model with a probit link
data = data.frame(time = 1:6, y = c(0, 0, 0, 1, 1, 1))
fit = mcp(list(y ~ 1), data, family = bernoulli(link = "probit"), par_x = "time", sample = FALSE)
mcp_pars(fit)$parameter # Show the parameters of the fitted Bernoulli model
#> [1] "Intercept_1"
