Commit 0dff9941 authored by houyun's avatar houyun
Browse files

clean document

parent 811319d5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -578,8 +578,9 @@ is_binary <- function(x) {
#' @inheritParams ggplot2::guide_axis
#' @param child a tibble of child axis information, see examples.
#' @param only_child if TRUE, will remove main axis elements.
#' @param child_size size of child axis label.
#' @param theme a ggplot theme object for child axis.
#' @rdname axis_child
#' @author Hou Yun
#' @export
guide_axis_child <- function(title = waiver(),
                             check.overlap = FALSE,
+4 −1
Original line number Diff line number Diff line
@@ -43,8 +43,11 @@ left, or right.}

\item{only_child}{if TRUE, will remove main axis elements.}

\item{child_size}{size of child axis label.}
\item{theme}{a ggplot theme object for child axis.}
}
\description{
This function can be used to add children axis on a ggplot.
}
\author{
Hou Yun
}