From 4954e03c551f3c771aaecb06efe4e18986d63a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?fran=C3=A7ois=20GUILLEM?= Date: Wed, 25 Jan 2017 10:55:20 +0100 Subject: [PATCH] Add downloads badge on README --- README.Rmd | 3 ++- README.md | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.Rmd b/README.Rmd index a831c95..6651bac 100644 --- a/README.Rmd +++ b/README.Rmd @@ -9,7 +9,8 @@ library(manipulateWidget) ``` -[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/manipulateWidget)](http://cran.r-project.org/package=manipulateWidget) +[![CRAN Status Badge](http://www.r-pkg.org/badges/version/manipulateWidget)](http://cran.r-project.org/package=manipulateWidget) +[![CRAN Downloads Badge](https://cranlogs.r-pkg.org/badges/manipulateWidget)](http://cran.r-project.org/package=manipulateWidget) This R package is largely inspired by the `manipulate` package from Rstudio. It provides the function `manipulateWidget` that can be used to create in a very easy way a graphical interface that let the user modify the data or the parameters of an interactive chart. Technically, the function generates a Shiny gadget, but the user does not even have to know what is Shiny. diff --git a/README.md b/README.md index 7b2a852..e5383a8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ Add more interactivity to interactive charts ================ -[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/manipulateWidget)](http://cran.r-project.org/package=manipulateWidget) +[![CRAN Status Badge](http://www.r-pkg.org/badges/version/manipulateWidget)](http://cran.r-project.org/package=manipulateWidget) [![CRAN Downloads Badge](https://cranlogs.r-pkg.org/badges/manipulateWidget)](http://cran.r-project.org/package=manipulateWidget) -This R package is largely inspired by the `manipulate` package from Rstudio. It provides the function \``manipulateWidget` that can be used to create in a very easy way a graphical interface that let the user modify the data or the parameters of an interactive chart. Technically, the function generates a Shiny gadget, but the user does not even have to know what is Shiny. +This R package is largely inspired by the `manipulate` package from Rstudio. It provides the function `manipulateWidget` that can be used to create in a very easy way a graphical interface that let the user modify the data or the parameters of an interactive chart. Technically, the function generates a Shiny gadget, but the user does not even have to know what is Shiny. Why should you use it? ---------------------- @@ -73,8 +73,6 @@ manipulateWidget( The package also provides the `combineWidgets` function to easily combine multiple interactive charts in a single view. Of course both functions can be used together: here is a more complex example that uses packages `dygraphs` and `plot_ly`. -Here is the complete code to generate the animated example in the introduction: - ``` r myPlotFun <- function(distribution, range, title) { randomFun <- switch(distribution, gaussian = rnorm, uniform = runif)