# NOT RUN {
mtcars_lm <- lm(mpg ~ wt + qsec + am, data = mtcars)
diblasi_bowman(mtcars_lm)
# }
# NOT RUN {
diblasi_bowman(mtcars_lm, ignorecov = FALSE)
# }
# NOT RUN {
diblasi_bowman(mtcars_lm, distmethod = "bootstrap")
# Example discussed in Diblasi and Bowman (1997)
malecats_lm <- lm(Hwt ~ Bwt, data = boot::catsM)
diblasi_bowman(malecats_lm, H = (max(boot::catsM$Bwt) - min(boot::catsM$Bwt)) / 8)
# }
Run the code above in your browser using DataLab