inst/doc/databases.R

## ----setup, include = FALSE---------------------------------------------------
library(dplyr)
library(dbplyr)
library(corrr)
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")

## -----------------------------------------------------------------------------
con <- DBI::dbConnect(RSQLite::SQLite(), path = ":dbname:")
db_mtcars <- copy_to(con, mtcars)

## -----------------------------------------------------------------------------
library(dplyr)
library(corrr)
db_mtcars %>%
  correlate(quiet = TRUE)

## -----------------------------------------------------------------------------
db_mtcars %>%
  correlate(quiet = TRUE) %>%
  rplot()

Try the corrr package in your browser

Any scripts or data that you put into this service are public.

corrr documentation built on Aug. 17, 2022, 1:05 a.m.