I have built a logit model in R:
model <- glm(as.factor(y) ~ x, family = binomial(link = "logit"), data = data)
Using the predicted probabilities from this model, I'd like to solve for x when y = 0.95. I believe the predict() function only solves for y given certain values of x. How can I solve for x in this case? Is there another function in R that I can use that works with the logit link?