-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
57 lines (38 loc) · 999 Bytes
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
output: github_document
always_allow_html: true
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# nvd3R
![](https://img.shields.io/badge/github%20version-0.1.0-orange.svg)
> R interface to NVD3.js
## nvd3R
`{nvd3R}` is an R package for NVD3: a reusable graphics framework for d3.js.
## Installation
The latest version can be installed from GitHub as follows:
```{r eval = FALSE}
install.packages("devtools")
devtools::install_github("alexym1/nvd3R")
```
## Example
```{r eval = FALSE}
library(nvd3R)
mtcars %>%
nvd3Plot(x = "cyl", y = "mpg", type = "boxplot", xlab = "Test1", ylab = "Test2")
```
## Example for a {shiny} app
```{r eval = FALSE}
library(nvd3R)
path_to_app <- system.file("App/example01.R", package = "nvd3R")
runApp(path_to_app)
```
## Resource
Official website at https://nvd3.org/