install logo correctly

This commit is contained in:
Jared Knowles
2020-07-06 11:48:10 -04:00
parent f5f288974f
commit 20f65a7126
32 changed files with 582 additions and 95 deletions
+9 -4
View File
@@ -2,16 +2,21 @@
% Please edit documentation in R/logo.R
\name{measure_caption}
\alias{measure_caption}
\title{Title}
\title{Measure a ggplot2 object caption}
\usage{
measure_caption(gg)
}
\arguments{
\item{gg}{}
\item{gg}{a ggplot object}
}
\value{
a numeric value stating the number of lines to be added or subtracted to align a logo with
the caption
}
\description{
Title
Measure a ggplot2 object caption
}
\examples{
p1 <- qplot(mpg, wt, data = mtcars)
measure_caption(p1) # Should equal 1 since no caption is required
}