From 8c019c50eba6fa0b11358104d4265afa48ca5f05 Mon Sep 17 00:00:00 2001 From: Dominique Makowski Date: Tue, 4 Oct 2016 01:11:44 +0200 Subject: [PATCH] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bc4f447..6550a8b 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ ggsave("assess_plot.png", plot) ### Get a correlation plot and table with significance stars ```R -cortable(personality) # Display +cortable(personality) write.csv(cortable(personality), "mytable.csv") # Save the table ggsave("corplot.png", cortable(personality)) # Save the plot @@ -100,10 +100,9 @@ ggsave("corplot.png", cortable(personality)) # Save the plot This function will automatically select the numeric columns of your dataframe and show a correlation table with significance stars. You can adjust the p value by applying different corrections or change the type of correlation type (Spearman's or Pearson's). You can also view the result in RStudio or save it as a .csv file to open it in excel. Run `?cortable` for documentation. -

- -

- +

+ +

### Describe a dataframe ```R