Browse Source

restored figures in the man pages

pull/15/head
Bob Rudis 8 years ago
parent
commit
30dc0dade4
  1. 12
      .Rd2pdf5285/Rd2.tex
  2. 4
      R/coord_proj.r
  3. 4
      R/geom_ash.r
  4. 8
      R/geom_bkde.r
  5. 4
      R/geom_bkde2d.r
  6. 15
      R/geom_encircle.r
  7. 12
      R/geom_lollipop.r
  8. 4
      R/geom_xspline.r
  9. 12
      R/stateface.r
  10. 4
      man/coord_proj.Rd
  11. BIN
      man/figures/coordproj01.png
  12. BIN
      man/figures/geombkde01.png
  13. BIN
      man/figures/geombkde2d01.png
  14. BIN
      man/figures/geomencircle01.png
  15. BIN
      man/figures/geomlollipop01.png
  16. BIN
      man/figures/geomstateface01.png
  17. BIN
      man/figures/geomxspline01.png
  18. BIN
      man/figures/statash01.png
  19. 8
      man/geom_bkde.Rd
  20. 4
      man/geom_bkde2d.Rd
  21. 13
      man/geom_encircle.Rd
  22. 12
      man/geom_lollipop.Rd
  23. 12
      man/geom_stateface.Rd
  24. 4
      man/geom_xspline.Rd
  25. 4
      man/stat_ash.Rd

12
.Rd2pdf5285/Rd2.tex

@ -0,0 +1,12 @@
\documentclass[a4paper]{book}
\usepackage[times,inconsolata,hyper]{Rd}
\usepackage{makeidx}
\usepackage[latin1]{inputenc} % @SET ENCODING@
% \usepackage{graphicx} % @USE GRAPHICX@
\makeindex{}
\begin{document}
\chapter*{}
\begin{center}
{\textbf{\huge \R{} documentation}} \par\bigskip{{\Large of \file{ggalt}}}
\par\bigskip{\large \today}
\end{center}

4
R/coord_proj.r

@ -9,13 +9,13 @@
#' \if{html}{
#' A sample of the output from \code{coord_proj()} using the Winkel-Tripel projection:
#'
#' \figure{coord_proj_01.png}{options: width="100\%" alt="Figure: coord_proj_01.png"}
#' \figure{coordproj01.png}{options: width="100\%" alt="Figure: coordproj01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{coord_proj()} using the Winkel-Tripel projection:
#'
#' \figure{coordproj01.pdf}{options: width=10cm}
#' \figure{coordproj01.png}{options: width=10cm}
#' }
#'
#' @param proj projection definition. If left \code{NULL} will default to

4
R/geom_ash.r

@ -5,13 +5,13 @@
#' \if{html}{
#' A sample of the output from \code{stat_ash()}:
#'
#' \figure{stat_ash_01.png}{options: width="100\%" alt="Figure: stat_ash_01.png"}
#' \figure{statash01.png}{options: width="100\%" alt="Figure: statash01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{stat_ash()}:
#'
#' \figure{statash01.pdf}{options: width=10cm}
#' \figure{statash01.png}{options: width=10cm}
#' }
#'
#' @inheritParams ggplot2::geom_area

8
R/geom_bkde.r

@ -1,18 +1,18 @@
#' Display a smooth density estimate.
#'
#' A kernel density estimate, useful for display the distribution of variables
#' with underlying smoothness.
#' A kernel density estimate, useful for displaying the distribution of
#' variables with underlying smoothness.
#'
#' \if{html}{
#' A sample of the output from \code{geom_bkde()}:
#'
#' \figure{geom_bkde_01.png}{options: width="100\%" alt="Figure: geom_bkde_01.png"}
#' \figure{geombkde01.png}{options: width="100\%" alt="Figure: geombkde01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_bkde()}:
#'
#' \figure{geombkde01.pdf}{options: width=10cm}
#' \figure{geombkde01.png}{options: width=10cm}
#' }
#'
#' @section Aesthetics:

4
R/geom_bkde2d.r

@ -74,13 +74,13 @@ GeomBkde2d <- ggproto("GeomBkde2d", GeomPath,
#' \if{html}{
#' A sample of the output from \code{geom_bkde2d()}:
#'
#' \figure{geom_bkde2d_01.png}{options: width="100\%" alt="Figure: geom_bkde2d_01.png"}
#' \figure{geombkde2d01.png}{options: width="100\%" alt="Figure: geombkde2d01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_bkde2d()}:
#'
#' \figure{geombkde2d01.pdf}{options: width=10cm}
#' \figure{geombkde2d01.png}{options: width=10cm}
#' }
#'
#' @param bandwidth the kernel bandwidth smoothing parameter. see

15
R/geom_encircle.r

@ -142,10 +142,21 @@ if (FALSE) {
}
#' Automatically enclose points in a polygon
#'
#' @details
#' \if{html}{
#' A sample of the output from \code{geom_encircle()}:
#'
#' \figure{geomencircle01.png}{options: width="100\%" alt="Figure: geomencircle01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_encircle()}:
#'
#' \figure{geomencircle01.png}{options: width=10cm}
#' }
#'
#' @param mapping mapping
#' @param data data
#' @param stat stat

12
R/geom_lollipop.r

@ -9,6 +9,18 @@
#' Use the \code{horizontal} parameter to abate the need for \code{coord_flip()}
#' (see the \code{Arguments} section for details).
#'
#' \if{html}{
#' A sample of the output from \code{geom_lollipop()}:
#'
#' \figure{geomlollipop01.png}{options: width="100\%" alt="Figure: geomlollipop01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_lollipop()}:
#'
#' \figure{geomlollipop01.png}{options: width=10cm}
#' }
#'
#' @section Aesthetics:
#' \Sexpr[results=rd,stage=build]{ggplot2:::rd_aesthetics("geom", "point")}
#' @inheritParams ggplot2::layer

4
R/geom_xspline.r

@ -7,13 +7,13 @@
#' \if{html}{
#' A sample of the output from \code{geom_xspline()}:
#'
#' \figure{geom_xspline_01.png}{options: width="100\%" alt="Figure: geom_xspline_01.png"}
#' \figure{geomxspline01.png}{options: width="100\%" alt="Figure: geomxspline01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_xspline()}:
#'
#' \figure{geomxspline01.pdf}{options: width=10cm}
#' \figure{geomxspline01.png}{options: width=10cm}
#' }
#'
#' @section Aesthetics:

12
R/stateface.r

@ -65,6 +65,18 @@ load_stateface <- function() {
#' run \code{show_stateface()} to get the filesystem location and then
#' load the font manually from there.
#'
#' \if{html}{
#' A sample of the output from \code{geom_stateface()}:
#'
#' \figure{geomstateface01.png}{options: width="100\%" alt="Figure: geomstateface01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_stateface()}:
#'
#' \figure{geomstateface01.png}{options: width=10cm}
#' }
#'
#' @param nudge_x,nudge_y Horizontal and vertical adjustment to nudge l
#' abels by. Useful for offsetting text from points, particularly
#' on discrete scales.

4
man/coord_proj.Rd

@ -40,13 +40,13 @@ the \code{proj4} package.
\if{html}{
A sample of the output from \code{coord_proj()} using the Winkel-Tripel projection:
\figure{coord_proj_01.png}{options: width="100\%" alt="Figure: coord_proj_01.png"}
\figure{coordproj01.png}{options: width="100\%" alt="Figure: coordproj01.png"}
}
\if{latex}{
A sample of the output from \code{coord_proj()} using the Winkel-Tripel projection:
\figure{coordproj01.pdf}{options: width=10cm}
\figure{coordproj01.png}{options: width=10cm}
}
}
\note{

BIN
man/figures/coordproj01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

BIN
man/figures/geombkde01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
man/figures/geombkde2d01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
man/figures/geomencircle01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
man/figures/geomlollipop01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
man/figures/geomstateface01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
man/figures/geomxspline01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
man/figures/statash01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

8
man/geom_bkde.Rd

@ -79,20 +79,20 @@ specified by range.x are ignored. see \code{\link[KernSmooth]{bkde}}
for details}
}
\description{
A kernel density estimate, useful for display the distribution of variables
with underlying smoothness.
A kernel density estimate, useful for displaying the distribution of
variables with underlying smoothness.
}
\details{
\if{html}{
A sample of the output from \code{geom_bkde()}:
\figure{geom_bkde_01.png}{options: width="100\%" alt="Figure: geom_bkde_01.png"}
\figure{geombkde01.png}{options: width="100\%" alt="Figure: geombkde01.png"}
}
\if{latex}{
A sample of the output from \code{geom_bkde()}:
\figure{geombkde01.pdf}{options: width=10cm}
\figure{geombkde01.png}{options: width=10cm}
}
}
\section{Aesthetics}{

4
man/geom_bkde2d.Rd

@ -96,13 +96,13 @@ results with contours. This can be useful for dealing with overplotting
\if{html}{
A sample of the output from \code{geom_bkde2d()}:
\figure{geom_bkde2d_01.png}{options: width="100\%" alt="Figure: geom_bkde2d_01.png"}
\figure{geombkde2d01.png}{options: width="100\%" alt="Figure: geombkde2d01.png"}
}
\if{latex}{
A sample of the output from \code{geom_bkde2d()}:
\figure{geombkde2d01.pdf}{options: width=10cm}
\figure{geombkde2d01.png}{options: width=10cm}
}
}
\section{Computed variables}{

13
man/geom_encircle.Rd

@ -31,6 +31,19 @@ adds a circle around the specified points
\description{
Automatically enclose points in a polygon
}
\details{
\if{html}{
A sample of the output from \code{geom_encircle()}:
\figure{geomencircle01.png}{options: width="100\%" alt="Figure: geomencircle01.png"}
}
\if{latex}{
A sample of the output from \code{geom_encircle()}:
\figure{geomencircle01.png}{options: width=10cm}
}
}
\examples{
d <- data.frame(x=c(1,1,2),y=c(1,2,2)*100)

12
man/geom_lollipop.Rd

@ -66,6 +66,18 @@ suitable alternative to or replacement for bar charts.
Use the \code{horizontal} parameter to abate the need for \code{coord_flip()}
(see the \code{Arguments} section for details).
\if{html}{
A sample of the output from \code{geom_lollipop()}:
\figure{geomlollipop01.png}{options: width="100\%" alt="Figure: geomlollipop01.png"}
}
\if{latex}{
A sample of the output from \code{geom_lollipop()}:
\figure{geomlollipop01.png}{options: width=10cm}
}
}
\section{Aesthetics}{

12
man/geom_stateface.Rd

@ -75,6 +75,18 @@ device, you'll need to install the font on your system.
\code{ggalt} ships with a copy of the StateFace TTF font. You can
run \code{show_stateface()} to get the filesystem location and then
load the font manually from there.
\if{html}{
A sample of the output from \code{geom_stateface()}:
\figure{geomstateface01.png}{options: width="100\%" alt="Figure: geomstateface01.png"}
}
\if{latex}{
A sample of the output from \code{geom_stateface()}:
\figure{geomstateface01.png}{options: width=10cm}
}
}
\examples{
\dontrun{

4
man/geom_xspline.Rd

@ -77,13 +77,13 @@ first before computing the splines.
\if{html}{
A sample of the output from \code{geom_xspline()}:
\figure{geom_xspline_01.png}{options: width="100\%" alt="Figure: geom_xspline_01.png"}
\figure{geomxspline01.png}{options: width="100\%" alt="Figure: geomxspline01.png"}
}
\if{latex}{
A sample of the output from \code{geom_xspline()}:
\figure{geomxspline01.pdf}{options: width=10cm}
\figure{geomxspline01.png}{options: width=10cm}
}

4
man/stat_ash.Rd

@ -69,13 +69,13 @@ See \code{\link[ash]{bin1}} & \code{\link[ash]{ash1}} for more information.
\if{html}{
A sample of the output from \code{stat_ash()}:
\figure{stat_ash_01.png}{options: width="100\%" alt="Figure: stat_ash_01.png"}
\figure{statash01.png}{options: width="100\%" alt="Figure: statash01.png"}
}
\if{latex}{
A sample of the output from \code{stat_ash()}:
\figure{statash01.pdf}{options: width=10cm}
\figure{statash01.png}{options: width=10cm}
}
}
\section{Aesthetics}{

Loading…
Cancel
Save