---
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

  - https://openstat.ai
