install logo correctly
This commit is contained in:
+8
-4
@@ -2,16 +2,20 @@
|
||||
% Please edit documentation in R/logo.R
|
||||
\name{has_caption}
|
||||
\alias{has_caption}
|
||||
\title{Title}
|
||||
\title{Test whether a ggplot2 object has a caption}
|
||||
\usage{
|
||||
has_caption(gg)
|
||||
}
|
||||
\arguments{
|
||||
\item{gg}{}
|
||||
\item{gg}{a gg object from ggplot2}
|
||||
}
|
||||
\value{
|
||||
|
||||
a logical, TRUE if a caption exists and FALSE if it does not
|
||||
}
|
||||
\description{
|
||||
Title
|
||||
Test whether a ggplot2 object has a caption
|
||||
}
|
||||
\examples{
|
||||
p1 <- ggplot2::qplot(mpg, wt, data = mtcars)
|
||||
has_caption(p1) # FALSE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user