-
Notifications
You must be signed in to change notification settings - Fork 23
/
README.Rmd
115 lines (70 loc) · 2.95 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
title: "jsmodule"
output: github_document
---
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/jinseob2kim/jsmodule?branch=master&svg=true)](https://ci.appveyor.com/project/jinseob2kim/jsmodule)
[![Github action](https://github.com/jinseob2kim/jsmodule/workflows/R-CMD-check/badge.svg)](https://github.com/jinseob2kim/jsmodule/actions)
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/jsmodule)](https://cran.r-project.org/package=jsmodule)
[![CRAN\_Download\_Badge](https://cranlogs.r-pkg.org/badges/jsmodule)](https://CRAN.R-project.org/package=jsmodule)
[![codecov](https://codecov.io/github/jinseob2kim/jsmodule/branch/master/graphs/badge.svg)]( https://app.codecov.io/github/jinseob2kim/jsmodule)
[![GitHub issues](https://img.shields.io/github/issues/jinseob2kim/jsmodule.svg)](https://github.com/jinseob2kim/jsmodule/issues)
[![GitHub stars](https://img.shields.io/github/stars/jinseob2kim/jsmodule.svg)](https://github.com/jinseob2kim/jsmodule/stargazers)
[![GitHub license](https://img.shields.io/github/license/jinseob2kim/jsmodule.svg)](https://github.com/jinseob2kim/jsmodule/blob/master/LICENSE)
RStudio Addins and Shiny Modules for Medical Research
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## Install
```r
install.packages("jsmodule")
library(jsmodule)
## From github: latest version
remotes::install_github('jinseob2kim/jsmodule')
```
## RStudio Addins
### Basic statistics
Use `jsBasicGadget(data)` or Click **Basic statistics** Addin with **the dragged name of data**.
```r
jsBasicGadget(mtcars)
```
![](vignettes/figures/addin.gif)
### Basic statistics with external data
Use `jsBasicExtAddin()` or Click **Basic statistics with external data** Addin **without any drag**
```r
jsBasicExtAddin()
```
### Repeated measure analysis
Use `jsRepeatedGadget(data)` or Click **Repeated measure analysis** Addin with **the dragged name of data**.
```r
jsRepeatedGadget(mtcars)
```
### Repeated measure analysis with external data
Use `jsRepeatedExtAddin()` or Click **Repeated measure analysis with external data** Addin **without any drag**
```r
jsRepeatedExtAddin()
```
### Survey data analysis
Use `jsSurveyGadget(data)` or Click **Survey data analysis** Addin with **the dragged name of data**.
```r
library(survey)
data(api)
jsSurveyGadget(apistrat)
```
### Survey data analysis with external data
Use `jsSurveyExtAddin()` or Click **Survey data analysis with external data** Addin **without any drag**
```r
jsSurveyExtAddin()
```
### Propensity score analysis
Use `jsPropensityGadget(data)` or Click **Propensity score analysis** Addin with **the dragged name of data**.
```r
jsPropensityGadget(mtcars)
```
![](vignettes/figures/ps.png)
### Propensity score analysis with external data
Use `jsPropensityExtAddin()` or Click **Propensity score analysis with external data** Addin **without any drag**
```r
jsPropensityExtAddin()
```
## Web applications
* https://openstat.ai