Skip to content

Commit

Permalink
doc updated #270
Browse files Browse the repository at this point in the history
  • Loading branch information
kassambara committed May 10, 2020
1 parent 39d7796 commit 41df11e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/stat_cor.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ NULL
#' # Add correlation coefficient
#' sp + stat_cor(method = "pearson", label.x = 3, label.y = 30)
#'
#' # Specify the number of decimal places of precision for p and r
#' # Using 3 decimal places for the p-value and
#' # 2 decimal places for the correlation coefficient (r)
#' sp + stat_cor(p.accuracy = 0.001, r.accuracy = 0.01)
#'
#' # Show only the r.label but not the p.label
#' sp + stat_cor(aes(label = ..r.label..), label.x = 3)
#'
Expand Down
5 changes: 5 additions & 0 deletions man/stat_cor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41df11e

Please sign in to comment.