---
title: "Introduce RStudio Addins in jsmodule"
author: "Jinseob Kim"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{jsmodule}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  echo = T
)
```


## Install

```r
remotes::install_github('jinseob2kim/jsmodule')
```

## RStudio Addins

### Basic statistics 

```r
jsBasicGadget(mtcars)
```
![](figures/addin.gif)


### Repeated measure analysis

```r
jsRepeatedGadget(mtcars)
```

### Survey data analysis

```r
library(survey)
data(api)
jsSurveyGadget(apistrat)
```

### Propensity score analysis(experimental)

```r
jsPropensityGadget(mtcars)
```

![](figures/ps.png)

## Web applications

* Basic statistics: http://app.zarathu.com/basic

* Repeated measure analysis: http://app.zarathu.com/repeated

* Survey data analysis: http://app.zarathu.com/survey

* Propensity score analysis(experimental): http://app.zarathu.com/ps
