-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathplot_corr.Rd
More file actions
43 lines (36 loc) · 1.21 KB
/
plot_corr.Rd
File metadata and controls
43 lines (36 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_corr.R
\name{plot_corr}
\alias{plot_corr}
\title{Plot correlations between (incomplete) variables}
\usage{
plot_corr(
data,
vrb = "all",
label = FALSE,
square = TRUE,
diagonal = FALSE,
rotate = FALSE,
caption = TRUE,
grid = TRUE
)
}
\arguments{
\item{data}{A dataset of class \code{data.frame}, \code{tibble}, or \code{matrix}.}
\item{vrb}{String, vector, or unquoted expression with variable name(s), default is "all".}
\item{label}{Logical indicating whether correlation values should be displayed.}
\item{square}{Logical indicating whether the plot tiles should be squares.}
\item{diagonal}{Logical indicating whether the correlation of each variable with itself should be displayed.}
\item{rotate}{Logical indicating whether the variable name labels should be rotated 90 degrees.}
\item{caption}{Logical indicating whether the figure caption should be displayed.}
\item{grid}{Logical indicating whether borders should be present between tiles.}
}
\value{
An object of class \link[ggplot2:ggplot]{ggplot2::ggplot}.
}
\description{
Plot correlations between (incomplete) variables
}
\examples{
plot_corr(mice::nhanes, label = TRUE)
}