diff options
| author | Chris Sobczak <chris@sobczak.family> | 2026-06-10 15:58:27 -0700 |
|---|---|---|
| committer | Chris Sobczak <chris@sobczak.family> | 2026-06-10 15:58:27 -0700 |
| commit | 617b79fb3e0707b9bd0b446db73a2b1d7f6f3f94 (patch) | |
| tree | 4a0b566759e57b2cd2e78a34e8c5f50e15a35183 /man | |
| parent | 967618a8afd690064fc26631340edac8ab584d11 (diff) | |
Add corplot
Diffstat (limited to 'man')
| -rw-r--r-- | man/corplot.Rd | 26 | ||||
| -rw-r--r-- | man/gg_csobczak.Rd | 2 |
2 files changed, 27 insertions, 1 deletions
diff --git a/man/corplot.Rd b/man/corplot.Rd new file mode 100644 index 0000000..72d4df0 --- /dev/null +++ b/man/corplot.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/corplot.R +\name{corplot} +\alias{corplot} +\title{Correlation PLot (Upper Triangle)} +\usage{ +corplot(R, title = NULL) +} +\arguments{ +\item{R}{A square numeric correlation matrix} + +\item{title}{Optional plot title} +} +\value{ +A ggplot object +} +\description{ +Minimal ggplot2 correlation plot showing the upper triangle +in the top-right corner with no axis labels. +} +\examples{ +X <- matrix(data = rnorm(100), nrow = 10) +R <- cor(X) +corplot(R, title = 'Example Correlation Plot') + +} diff --git a/man/gg_csobczak.Rd b/man/gg_csobczak.Rd index d5951a1..70495d5 100644 --- a/man/gg_csobczak.Rd +++ b/man/gg_csobczak.Rd @@ -14,7 +14,7 @@ This adds standard formating to my ggplots. } \examples{ df <- data.frame(x=rnorm(10), y=rnorm(10)) -p <- ggplot(data=df, aes(x=x, y=y)) + geom_point() +p <- ggplot2::ggplot(data=df, ggplot2::aes(x = x, y = y)) + ggplot2::geom_point() p <- gg_csobczak(p) } \keyword{ggplot} |
