# NOT RUN {
data(GoosePermits)
goose.model <-
glm( cbind(keep, sell) ~ log(bid), data = GoosePermits, family = binomial())
if (require(mosaic)) {
f <- makeFun(goose.model)
xyplot( (keep/(keep+sell)) ~ bid, data = GoosePermits, ylim = c(0,1.05))
plotFun( f(b) ~ b, add = TRUE)
}
# }
Run the code above in your browser using DataLab