Browse Source

Fixed some Imports

tags/v0.1.1
hrbrmstr 8 years ago
parent
commit
caac101849
  1. 3
      NAMESPACE
  2. 3
      R/ggalt-package.r
  3. 0
      vignettes/.build.timestamp
  4. 24
      vignettes/Introduction to ggalt.Rmd
  5. 7
      vignettes/Introduction_to_ggalt.R
  6. 278
      vignettes/Introduction_to_ggalt.html

3
NAMESPACE

@ -22,13 +22,14 @@ export(stat_bkde)
export(stat_bkde2d)
export(stat_xspline)
import(KernSmooth)
import(MASS)
import(ash)
import(dplyr)
import(ggplot2)
import(grDevices)
import(graphics)
import(proj4)
importFrom(RColorBrewer,brewer.pal)
importFrom(dplyr,filter)
importFrom(grid,gList)
importFrom(grid,gTree)
importFrom(grid,grid.draw)

3
R/ggalt-package.r

@ -5,7 +5,8 @@
#' @name ggalt
#' @docType package
#' @author Bob Rudis (@@hrbrmstr)
#' @import ggplot2 graphics grDevices dplyr KernSmooth proj4 ash
#' @import ggplot2 graphics grDevices KernSmooth proj4 ash MASS
#' @importFrom dplyr filter
#' @importFrom scales rescale expand_range
#' @importFrom grid grobName grobTree unit.c grobHeight grobWidth viewport
#' grid.draw grobX grobY gTree gList

0
vignettes/.build.timestamp

24
vignettes/Introduction to ggalt.Rmd

@ -1,24 +0,0 @@
---
title: "Vignette Title"
author: "Bob Rudis"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
The release of `ggplot2` version `2.0` brought with it the ability to easily extend it from within external packages. The `ggalt` package provides additionals "stats", "geoms" and "coords", including:
- `coord_proj` : Similar to `coord_map` but using the PROJ.4 library/package- `geom_xspline` : Connect control points/observations with an X-spline
[geom]
- `stat_xspline` : Connect control points/observations with an X-spline [stat]- `geom_bkde` : Display a smooth density estimate (uses `KernSmooth::bkde`)
[geom]- `stat_bkde` : Display a smooth density estimate (uses `KernSmooth::bkde`)
[stat]- `geom_bkde2d` : Contours from a 2d density estimate. (uses `KernSmooth::bkde2D`)
[geom]- `stat_bkde2d` : Contours from a 2d density estimate. (uses `KernSmooth::bkde2D`)
[stat]- `stat_ash` : Compute and display a univariate averaged shifted histogram (polynomial kernel) (uses `ash::ash1`/`ash::bin1`)
[stat]
## Vignette Info
N

7
vignettes/Introduction_to_ggalt.R

@ -1,7 +0,0 @@
## ---- fig.show='hold'----------------------------------------------------
plot(1:10)
plot(10:1)
## ---- echo=FALSE, results='asis'-----------------------------------------
knitr::kable(head(mtcars, 10))

278
vignettes/Introduction_to_ggalt.html

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save