| data-vis-cor | R Documentation | 
Return data used to create vis_cor plot
Create a tidy dataframe of correlations suitable for plotting
data_vis_cor(x, ...)
## Default S3 method:
data_vis_cor(x, ...)
## S3 method for class 'data.frame'
data_vis_cor(
  x,
  cor_method = "pearson",
  na_action = "pairwise.complete.obs",
  ...
)
## S3 method for class 'grouped_df'
data_vis_cor(x, ...)
| x | data.frame | 
| ... | extra arguments (currently unused) | 
| cor_method | correlation method to use, from  | 
| na_action | The method for computing covariances when there are missing
values present. This can be "everything", "all.obs", "complete.obs",
"na.or.complete", or "pairwise.complete.obs" (default). This option is
taken from the  | 
data frame
tidy dataframe of correlations
data_vis_cor(airquality)
## Not run: 
#return vis_dat data for each group
library(dplyr)
airquality %>%
  group_by(Month) %>%
  data_vis_cor()
## End(Not run)
data_vis_cor(airquality)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.