Learn R Programming

jsmodule

RStudio Addins and Shiny Modules for Medical Research

Install

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.

jsBasicGadget(mtcars)

Basic statistics with external data

Use jsBasicExtAddin() or Click Basic statistics with external data Addin without any drag

jsBasicExtAddin()

Repeated measure analysis

Use jsRepeatedGadget(data) or Click Repeated measure analysis Addin with the dragged name of data.

jsRepeatedGadget(mtcars)

Repeated measure analysis with external data

Use jsRepeatedExtAddin() or Click Repeated measure analysis with external data Addin without any drag

jsRepeatedExtAddin()

Survey data analysis

Use jsSurveyGadget(data) or Click Survey data analysis Addin with the dragged name of data.

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

jsSurveyExtAddin()

Propensity score analysis

Use jsPropensityGadget(data) or Click Propensity score analysis Addin with the dragged name of data.

jsPropensityGadget(mtcars)

Propensity score analysis with external data

Use jsPropensityExtAddin() or Click Propensity score analysis with external data Addin without any drag

jsPropensityExtAddin()

Web applications

Copy Link

Version

Install

install.packages('jsmodule')

Monthly Downloads

1,044

Version

1.6.11

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Jinseob Kim

Last Published

July 2nd, 2025

Functions in jsmodule (1.6.11)

mksetdiff

mksetdiff: function to make variable list excluding specific variables.
ggpairsModuleUI1

ggpairsModuleUI1: Variable selection module UI for ggpairs
ggpairsModule2

ggpairsModule2: shiny module server for basic/scatter plot for reactive data.
jsSurveyExtAddin

jsSurveyExtAddin: RStudio Addin for survey data analysis with external data.
jsBasicGadget

jsBasicGadget: Shiny Gadget of Basic Statistics in Medical Research.
csvFile

csvFile: Shiny module Server for file upload.
jsPropensityAddin

jsPropensityAddin: Rstudio addin of jsPropensityGadget
coxUI

coxUI: shiny modulde UI for Cox's model.
jsSurveyGadget

jsSurveyGadget: Shiny Gadget of survey data analysis.
FilePs

FilePs: Shiny module Server for propensity score analysis.
csvFileInput

csvFileInput: Shiny module UI for file upload.
tb1simple2

tb1simple2: tb1 module for propensity score analysis for reactive data
tb1simpleUI

tb1simpleUI : tb1 module UI for propensity score analysis
optionUI

optionUI: Option UI with icon
templateGenerator

templateGenerator: Shiny Gadget for global/app.R template.
timeROC_table

timeROC_table: extract AUC information from list of timeROChelper object.
timerocModule

timerocModule: shiny module server for time-dependent roc analysis
timeROChelper

timeROChelper: Helper function for timerocModule
histogramServer

histogramServer: shiny module server for histogram.
jsBasicAddin

jsBasicAddin: Rstudio addin of jsBasicGadget
jsBasicExtAddin

jsBasicExtAddin: RStudio Addin for basic data analysis with external data.
forestcoxServer

forestcoxServer:shiny module server for forestcox
histogramUI

histogramUI: shiny module UI for histogram
FileSurvey

FileSurvey: Server for survey data analysis.
FileRepeatedInput

FileRepeatedInput: UI for repeated measures analysis.
boxUI

boxUI: shiny module UI for boxplot
coxModule

coxModule: shiny modulde server for Cox's model.
forestcoxUI

forestcoxUI:shiny module UI for forestcox
forestglmServer

forestglmServer:shiny module server for forestglm
jsPropensityExtAddin

jsPropensityExtAddin: RStudio Addin for propensity score analysis with external data.
jsPropensityGadget

jsPropensityGadget: Shiny Gadget for propensity score analysis.
mk.lev2

mk.lev2: level generating function
mklist

mklist: function to make variable list lncluding specific variables.
rocModule

rocModule: shiny module server for roc analysis
rocModule2

rocModule2: shiny module server for roc analysis- input number of model as integer
tb1moduleUI

tb1moduleUI: table 1 module UI.
tb1simple

tb1simple: tb1 module server for propensity score analysis
scatterServer

scatterServer: shiny module server for scatterplot.
scatterUI

scatterUI: shiny module UI for scatterplot
rocUI

rocUI: shiny module UI for roc analysis
logisticModule2

logisticModule2: Shiny modulde server for logistic regression for reactive data.
logistic.display2

logistic.display2: Modified epiDisplay's logistic.display function.
survIDINRI_helper

survIDINRI_helper: Helper function for IDI.INF.OUT in survIDINRI packages
timerocUI

timerocUI: shiny module UI for time-dependent roc analysis
use_jsmodule_style

Include jsmodule CSS styling
reclassificationJS

reclassificationJS: Function for reclassification table and statistics
tb1module

tb1module: table 1 shiny module server.
regress.display2

regress.display2: modified epiDisplay's regress.display function
tb1module2

tb1module2: table 1 shiny module server for reactive data.
jsSurveyAddin

jsSurveyAddin: Rstudio addin of jsSurveyGadget
GEEModuleLogistic

GEEModuleLogistic: shiny modulde server for binomial gaussian generalized estimating equation(GEE) using reactive data.
ggpairsModule

ggpairsModule: shiny module server for basic/scatter plot.
forestglmUI

forestglmUI:Shiny module UI for forestglm
GEEModuleUI

GEEModuleUI: shiny modulde UI for generalized estimating equation(GEE).
jsRepeatedGadget

jsRepeatedGadget: Shiny Gadget of Repeated measure analysis.
FileSurveyInput

FileSurveyInput: UI for survey data analysis.
GEEModuleLinear

GEEModuleLinear: shiny modulde server for gaussian generalized estimating equation(GEE) using reactive data.
DataManager

DataManager R6 Class for Shiny Modules
FilePsInput

FilePsInput: Shiny module UI for propensity score analysis.
FileRepeated

FileRepeated: Server for repeated measures analysis.
ROC_table

ROC_table: extract AUC, NRI and IDI information from list of roc object in pROC packages.
barUI

barUI: shiny module UI for barplot
jsRepeatedAddin

jsRepeatedAddin: Rstudio addin of jsRepeatedGadget
boxServer

boxServer: shiny module server for boxplot.
barServer

barServer: shiny module server for barplot.
jsRepeatedExtAddin

jsRepeatedExtAddin: RStudio Addin for repeated measure analysis with external data.
ggplotdownUI

ggplotdownUI: Option & download module UI for ggplot
kaplanModule

kaplanModule: shiny module server for kaplan-meier plot.
ggpairsModuleUI2

ggpairsModuleUI2: Option & download module UI for ggpairs
kaplanUI

kaplanUI: shiny module UI for kaplan-meier plot
lineUI

lineUI: shiny module UI for lineplot
lineServer

lineServer: shiny module server for lineplot.
regressModuleUI

regressModuleUI: shiny modulde UI for linear regression.
regressModule2

regressModule2: Shiny modulde server for linear regression for reactive data.