require(methods) ## plot base + points p <- ggplot(mtcars, aes(x = hp, ... The GAM with a smooth seems to fit the data better than the straight line did.
確定! 回上一頁