Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scicloj/clojisr-examples

examples of using clojisr
https://github.com/scicloj/clojisr-examples

Last synced: 5 days ago
JSON representation

examples of using clojisr

Awesome Lists containing this project

README

        

# clojisr-examples

We use this repo to create and share examples of using [Clojisr](https://github.com/scicloj/clojisr) (BETA13).

This repo will soon be updated with rerendering of the notes.

## List of examples

* [Template](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/template/)
* [Rmarkdown](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/rmarkdown/)
* [Shiny](./src/clojisr_examples/shiny.clj)

### Packages

Here we present examples of usage of particular R packages.

| Package - Clojure example | Package page | Comments |
| - | - | - |
| [lattice](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/lattice/) | [www](http://lattice.r-forge.r-project.org/) | [examples](http://lmdvr.r-forge.r-project.org/figures/figures.html) from [Lattice](https://www.springer.com/gp/book/9780387759685) book. With a permission of Deepayan Sarkar, the author. |
| [mlr3 (wip)](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/mlr3/) | [www](https://mlr3.mlr-org.com/), [book](https://mlr3book.mlr-org.com/) | |

### R Graph Gallery

With a permission given by [Yan Holtz](https://www.yan-holtz.com/) we recreated examples of charts found on [R Graph Gallery](https://www.r-graph-gallery.com/) and [from Data to Viz](https://www.data-to-viz.com/) sites.

#### from Data to Viz

| Topic - Clojure code | R code |
| - | - |
| [One numeric variable](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/graph-gallery/one-num/) | [source](https://www.data-to-viz.com/story/OneNum.html) |

#### R Graph Gallery

| Chart type - Clojure code | R code |
| - | - |
| [Violin](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/graph-gallery/violin/) | [source](https://www.r-graph-gallery.com/violin.html) |
| [Density](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/graph-gallery/density/) | [source](https://www.r-graph-gallery.com/density-plot.html) |
| [Histogram](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/graph-gallery/histogram/) | [source](https://www.r-graph-gallery.com/histogram.html) |
| [Boxplot](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/graph-gallery/boxplot/) | [source](https://www.r-graph-gallery.com/boxplot.html) |
| [Ridgeline](https://scicloj.github.io/clojisr-examples/doc/clojisr-examples/graph-gallery/ridgeline/) | [source](https://www.r-graph-gallery.com/ridgeline-plot.html) |

## Other collection of examples

* [clojure-map-examples](https://github.com/joannecheng/clojure-map-examples) by joannecheng - making geographic maps using R (rayshader, etc.) through interop
* some relevant notesbook at [generateme's nextjournal collection](https://nextjournal.com/generateme/)

## How to add your examples
This will soon be documented.

## License

Copyright © 2020 Scicloj

This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License, v. 2.0 are satisfied: GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at your
option) any later version, with the GNU Classpath Exception which is available
at https://www.gnu.org/software/classpath/license.html.