Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument in eda_web_report() to limit the number of bivariate relationships #82

Open
ashirwad opened this issue Oct 20, 2022 · 1 comment

Comments

@ashirwad
Copy link

Hey @choonghyunryu,

The eda_web_report() function tries to calculate the bivariate relationships between every pair of numeric variables. This scales non-linearly with the width of a data set. It would be nice to provide an argument in the eda_web_report() function to limit the number of bivariate relationships that will be examined for the report. We will have to discuss the best way to do this though...

Thanks!

@choonghyunryu
Copy link
Owner

choonghyunryu commented Oct 22, 2022

Hi @ashirwad,

dlookr was designed with the 'tidyverse' in mind.
In particular, collaboration with the dplyr package is very important.

I recommend the following method.

library(dlookr)
library(dplyr)

# case of selecting variables
heartfailure %>% 
  select(death_event, age, sex, smoking, cpk_enzyme) %>% 
  eda_web_report()

# case of removing variables
heartfailure %>% 
  select(-time, -cpk_enzyme) %>% 
  eda_web_report()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants