Margin families describe how a candidate is fitted. Implementations provide
fit_margin() and margin_info() methods. Their margin_info() result must
contain family_name and types. Every fitter receives the observations,
observation weights, and requested variable type. It must either use the
weights or reject them.
fit_margin(family, x, weights = numeric(), type = "c")fit_margin() returns a fitted margin.
a margin-family specification.
observed values.
observation weights, or numeric().
requested variable type.