Empirically estimate response values on the link scaleSource:
Calculates the average value of the response variable, and places this on the link scale. Plotting these against a predictor (by dividing the dataset into bins) can help assess the choice of link function.
Vector of response variable values.
Family object representing the response distribution and link function. Only the link function will be used.
NAvalues of the response be stripped? Passed to
mean()when calculating the mean of the response.