Package: jsmodule 2.0.1

jsmodule: 'RStudio' Addins and 'Shiny' Modules for Medical Research

'RStudio' addins and 'Shiny' modules for descriptive statistics, regression and survival analysis.

Authors:Jinseob Kim [aut, cre], Zarathu [cph, fnd], Hyunki Lee [aut], Changwoo Lim [aut], Jinhwan Kim [aut], Yoonkyoung Jeon [aut], Jaewoong Heo [aut], Youngsun Park [aut], Hyungwoo Jo [aut], Jeongmin Seo [aut], Hojun LEE [aut], Sungho Choi [aut], Yeji Kang [aut], Mingu Jee [aut]

jsmodule_2.0.1.tar.gz
jsmodule_2.0.1.zip(r-4.7)jsmodule_2.0.1.zip(r-4.6)jsmodule_2.0.1.zip(r-4.5)
jsmodule_2.0.1.tgz(r-4.6-any)jsmodule_2.0.1.tgz(r-4.5-any)
jsmodule_2.0.1.tar.gz(r-4.7-any)jsmodule_2.0.1.tar.gz(r-4.6-any)
jsmodule_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
jsmodule/json (API)

# Install 'jsmodule' in R:
install.packages('jsmodule', repos = c('https://jinseob2kim.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jinseob2kim/jsmodule/issues

Pkgdown/docs site:https://jinseob2kim.github.io

On CRAN:

Conda:

medicalrstudio-addinsshinyshiny-modulesstatistics

9.01 score 25 stars 109 scripts 620 downloads 72 exports 227 dependencies

Last updated from:9b013faf5b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK298
source / vignettesOK316
linux-release-x86_64OK289
macos-release-arm64OK291
macos-oldrel-arm64OK205
windows-develOK235
windows-releaseOK245
windows-oldrelOK223
wasm-releaseOK215

Exports:aiAssistantaiAssistantUIbarServerbarUIboxServerboxUIcoxModulecoxUIcsvFilecsvFileInputFilePsFilePsInputFileRepeatedFileRepeatedInputFileSurveyFileSurveyInputforestcoxServerforestcoxUIforestglmServerforestglmUIGEEModuleLinearGEEModuleLogisticGEEModuleUIggpairsModuleggpairsModule2ggpairsModuleUI1ggpairsModuleUI2ggplotdownUIhistogramServerhistogramUIjsBasicAddinjsBasicExtAddinjsBasicGadgetjsPropensityAddinjsPropensityExtAddinjsPropensityGadgetjsRepeatedAddinjsRepeatedExtAddinjsRepeatedGadgetjsSurveyAddinjsSurveyExtAddinjsSurveyGadgetkaplanModulekaplanUIlineServerlineUIlogistic.display2logisticModule2mklistmksetdiffoptionUIreclassificationJSregress.display2regressModule2regressModuleUIROC_tablerocModulerocModule2rocUIscatterServerscatterUItb1moduletb1module2tb1moduleUItb1simpletb1simple2tb1simpleUItemplateGeneratortimerocModuletimerocModule2timerocUIuse_jsmodule_style

Dependencies:abindaskpassbackportsbase64encbayestestRbdsmatrixbitbit64bootbroombslibcachemcarcarDatacellrangercheckmatechkclassclicliprclustercmprskcodetoolscolorspacecommonmarkcorrelationcorrplotcowplotcoxmecpp11crayoncrosstalkcurldata.tabledatawizardDBIDerivdiagramdigestdoBydoParalleldplyrDTe1071effectsizeepiDisplayevaluateexactRankTestsfarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverforcatsforeachforecastforeignforestploterFormulafracdifffsfuturefuture.applygdatagdtoolsgeepackgenericsGGallyggplot2ggpubrggrepelggsciggsignifggstatsglmnetglobalsgluegmodelsgridExtragtablegtoolshavenhighrHmischmshtmlTablehtmltoolshtmlwidgetshttpuvhttrinsightisobanditeratorsjquerylibjskmjsonlitejstableKernSmoothknitrlabelinglabelledlaterlatticelavalazyevallifecyclelistenvlme4lmerTestlmtestmagrittrMASSMatchItMatrixMatrixModelsmaxstatmemoisemetsmgcvmimeminqamitoolsmodelbasedmodelrmultcompmvtnormnlmenloptrnnetnortestnumDerivofficeropensslopenxlsxotelparallellyparameterspatchworkpbkrtestpecperformancepillarpkgconfigplotrixpolsplinepolynomprettyunitspROCprodlimprogressprogressrpromisesproxyPublishpurrrquantregR6raggrangerrappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppProgressRdpackreadrreadxlreformulasrematchriskRegressionrlangrmarkdownrmsrpartrstatixrstudioapirvgS7sandwichsassscalesseeshapeshinyshinyAceshinycustomloadershinyjsshinyWidgetssourcetoolsSparseMSQUAREMstringistringrsurvC1surveysurvIDINRIsurvivalsyssystemfontstableonetextshapingTH.datatibbletidyrtidyselecttimeDatetimeregtimeROCtinytextzdburcautf8uuidvctrsviridisLitevroomwithrxfunxml2xtableyamlzipzoo

AI Assistant Module Guide
AI Assistant Module | Overview | Quick Start | 1. API Key Setup | 2. Basic Usage | Option A: Use with jsBasicGadget | Option B: Standalone Shiny App | Features | Code Generation | Multiple AI Providers | Export Options | Safety Features | Important Notes | Data Access | Allowed Packages | Variable Structure | API Key Resolution Order | API Configuration Modes | show_api_config = TRUE (Default) | show_api_config = FALSE | Advanced Usage | Custom Variable Structure | Analysis Context | Production Deployment | Troubleshooting | API Key Not Found | Code Execution Errors | Summary Results Too Fragmented | Text Output Shows Escape Sequences | Best Practices | 1. Be Specific in Questions | 2. Review Generated Code | 3. Provide Context | 4. Use Appropriate Model | 5. Iterative Refinement | Limitations | Examples | Example 1: Descriptive Statistics | Example 2: Survival Analysis | Example 3: Visualization | Example 4: Model Diagnostics | Security Considerations | Code Execution Security | Environment-Aware Execution (Development vs Production) | Basic Security Features | API Key Security | Best Practices by Deployment Type | API Key Storage Locations | Compliance Considerations | Recommended Security Setup | Support | License

Last update: 2025-12-17
Started: 2025-12-17

AI Assistant 모듈 가이드
AI Assistant 모듈 | 개요 | 빠른 시작 | 1. API 키 설정 | 2. 기본 사용법 | 옵션 A: jsBasicGadget과 함께 사용 | 옵션 B: 독립 실행형 Shiny 앱 | 주요 기능 | 코드 생성 | 다양한 AI 제공자 | 내보내기 옵션 | 안전 기능 | 중요 사항 | 데이터 접근 | 허용된 패키지 | 변수 구조 | API 키 우선순위 | API 설정 모드 | show_api_config = TRUE (기본값) | show_api_config = FALSE | 고급 사용법 | 사용자 정의 변수 구조 | 분석 컨텍스트 | 프로덕션 배포 | 문제 해결 | API 키를 찾을 수 없음 | 코드 실행 오류 | Summary 결과가 너무 조각남 | 텍스트 출력에 이스케이프 시퀀스 표시 | 모범 사례 | 1. 구체적인 질문하기 | 2. 생성된 코드 검토 | 3. 컨텍스트 제공 | 4. 적절한 모델 사용 | 5. 반복적 개선 | 제한사항 | 예제 | 예제 1: 기술통계 | 예제 2: 생존분석 | 예제 3: 시각화 | 예제 4: 모델 진단 | 보안 고려사항 | 코드 실행 보안 | 환경 인식 실행 (개발 vs 프로덕션) | 기본 보안 기능 | API 키 보안 | 배포 유형별 모범 사례 | API 키 저장 위치 | 규정 준수 고려사항 | 권장 보안 설정 | 지원 | 라이선스

Last update: 2025-12-17
Started: 2025-12-17

Introducing Basic statistics of jsmodule
Subgroup Analysis | Subgroup analysis for Cox regression is available by selecting the event, time, group, and subgroup variables. | Subgroup analysis for linear regression is available by selecting the group, outcome, and subgroup variables. | Subgroup analysis for logistic regression is available by selecting the group, outcome, and subgroup variables. | Competing risk analysis | Competing risk analysis can be performed by selecting the regression tab and choosing the Cox model. After clicking on "Competing Risk Analysis," select the competing risk and competing time variables to display results using the Fine-Gray method | Kaplan-Meier plots are also available with competing risks reflected. After clicking on "Competing Risk Analysis," select the competing risk and competing time variables to generate Kaplan-Meier plots that account for competing risks. | Subgroup analysis for Cox regression with competing risks is also available. After clicking on "Competing Risk Analysis," select the competing risk and competing time variables to generate Kaplan-Meier plots that account for competing risks. | Web applications

Last update: 2024-12-13
Started: 2024-12-13

Introduce RStudio Addins in jsmodule
Install | RStudio Addins | Basic statistics | Repeated measure analysis | Survey data analysis | Propensity score analysis(experimental) | Web applications

Last update: 2022-08-08
Started: 2019-02-07

Readme and manuals

Help Manual

Help pageTopics
aiAssistant: AI Assistant module serveraiAssistant
aiAssistantUI: AI Assistant module UIaiAssistantUI
barServer: shiny module server for barplot.barServer
barUI: shiny module UI for barplotbarUI
boxServer: shiny module server for boxplot.boxServer
boxUI: shiny module UI for boxplotboxUI
coxModule: shiny modulde server for Cox's model.coxModule
coxUI: shiny modulde UI for Cox's model.coxUI
csvFile: Shiny module Server for file upload.csvFile
csvFileInput: Shiny module UI for file upload.csvFileInput
FilePs: Shiny module Server for propensity score analysis.FilePs
FilePsInput: Shiny module UI for propensity score analysis.FilePsInput
FileRepeated: Server for repeated measures analysis.FileRepeated
FileRepeatedInput: UI for repeated measures analysis.FileRepeatedInput
FileSurvey: Server for survey data analysis.FileSurvey
FileSurveyInput: UI for survey data analysis.FileSurveyInput
forestcoxServer:shiny module server for forestcoxforestcoxServer
forestcoxUI:shiny module UI for forestcoxforestcoxUI
forestglmServer:shiny module server for forestglmforestglmServer
forestglmUI:Shiny module UI for forestglmforestglmUI
GEEModuleLinear: shiny modulde server for gaussian generalized estimating equation(GEE) using reactive data.GEEModuleLinear
GEEModuleLogistic: shiny modulde server for binomial gaussian generalized estimating equation(GEE) using reactive data.GEEModuleLogistic
GEEModuleUI: shiny modulde UI for generalized estimating equation(GEE).GEEModuleUI
ggpairsModule: shiny module server for basic/scatter plot.ggpairsModule
ggpairsModule2: shiny module server for basic/scatter plot for reactive data.ggpairsModule2
ggpairsModuleUI1: Variable selection module UI for ggpairsggpairsModuleUI1
ggpairsModuleUI2: Option & download module UI for ggpairsggpairsModuleUI2
ggplotdownUI: Option & download module UI for ggplotggplotdownUI
histogramServer: shiny module server for histogram.histogramServer
histogramUI: shiny module UI for histogramhistogramUI
Detect if running in production/deployment environmentis_production_environment
jsBasicAddin: Rstudio addin of jsBasicGadgetjsBasicAddin
jsBasicExtAddin: RStudio Addin for basic data analysis with external data.jsBasicExtAddin
jsBasicGadget: Shiny Gadget of Basic Statistics in Medical Research.jsBasicGadget
jsPropensityAddin: Rstudio addin of jsPropensityGadgetjsPropensityAddin
jsPropensityExtAddin: RStudio Addin for propensity score analysis with external data.jsPropensityExtAddin
jsPropensityGadget: Shiny Gadget for propensity score analysis.jsPropensityGadget
jsRepeatedAddin: Rstudio addin of jsRepeatedGadgetjsRepeatedAddin
jsRepeatedExtAddin: RStudio Addin for repeated measure analysis with external data.jsRepeatedExtAddin
jsRepeatedGadget: Shiny Gadget of Repeated measure analysis.jsRepeatedGadget
jsSurveyAddin: Rstudio addin of jsSurveyGadgetjsSurveyAddin
jsSurveyExtAddin: RStudio Addin for survey data analysis with external data.jsSurveyExtAddin
jsSurveyGadget: Shiny Gadget of survey data analysis.jsSurveyGadget
kaplanModule: shiny module server for kaplan-meier plot.kaplanModule
kaplanUI: shiny module UI for kaplan-meier plotkaplanUI
lineServer: shiny module server for lineplot.lineServer
lineUI: shiny module UI for lineplotlineUI
logistic.display2: Modified epiDisplay's logistic.display function.logistic.display2
logisticModule2: Shiny modulde server for logistic regression for reactive data.logisticModule2
mk.lev2: level generating functionmk.lev2
mklist: function to make variable list lncluding specific variables.mklist
mksetdiff: function to make variable list excluding specific variables.mksetdiff
optionUI: Option UI with iconoptionUI
reclassificationJS: Function for reclassification table and statisticsreclassificationJS
regress.display2: modified epiDisplay's regress.display functionregress.display2
regressModule2: Shiny modulde server for linear regression for reactive data.regressModule2
regressModuleUI: shiny modulde UI for linear regression.regressModuleUI
ROC_table: extract AUC, NRI and IDI information from list of roc object in pROC packages.ROC_table
rocModule: shiny module server for roc analysisrocModule
rocModule2: shiny module server for roc analysis- input number of model as integerrocModule2
rocUI: shiny module UI for roc analysisrocUI
Safe evaluation wrapper with environment-aware securitysafe_eval_expr
scatterServer: shiny module server for scatterplot.scatterServer
scatterUI: shiny module UI for scatterplotscatterUI
survIDINRI_helper: Helper function for IDI.INF.OUT in survIDINRI packagessurvIDINRI_helper
tb1module: table 1 shiny module server.tb1module
tb1module2: table 1 shiny module server for reactive data.tb1module2
tb1moduleUI: table 1 module UI.tb1moduleUI
tb1simple: tb1 module server for propensity score analysistb1simple
tb1simple2: tb1 module for propensity score analysis for reactive datatb1simple2
tb1simpleUI : tb1 module UI for propensity score analysistb1simpleUI
templateGenerator: Shiny Gadget for global/app.R template.templateGenerator
timeROC_table: extract AUC information from list of timeROChelper object.timeROC_table
timeROChelper: Helper function for timerocModuletimeROChelper
timerocModule: shiny module server for time-dependent roc analysistimerocModule timerocModule2
timerocUI: shiny module UI for time-dependent roc analysistimerocUI
Include jsmodule CSS stylinguse_jsmodule_style