Examples for 'GGally::ggally_nostic_cooksd'


'ggnostic' Cook's distance

Aliases: ggally_nostic_cooksd

Keywords:

### ** Examples

# Small function to display plots only if it's interactive
p_ <- GGally::print_if_interactive

dt <- broomify(stats::lm(mpg ~ wt + qsec + am, data = mtcars))
p_(ggally_nostic_cooksd(dt, ggplot2::aes(wt, .cooksd)))
plot of chunk example-GGally-ggally_nostic_cooksd-1

[Package GGally version 2.1.2 Index]