October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps to visualize the generalized additive model:
> plot(nox, dis)

> x = seq(0, 1, length = 500)
> y = predict(fit, data.frame(nox = x))
> lines(x, y, col = "red", lwd = 2)

> plot(fit)
Read now
Unlock full access