How are residuals calculated in a logistic regression model?
I created a logistic regression model using the mlr3 package in R. I outputted residuals from the model, but I can’t work out how they have been calculated – they do not correspond to any residual calculation that I know of.