Giter VIP home page Giter VIP logo

jsmodule's Introduction

jsmodule

AppVeyor build status Github action CRAN_Status_Badge CRAN_Download_Badge codecov GitHub issues GitHub stars GitHub license

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

jsmodule's People

Contributors

chaeelee avatar changwoolim avatar cyk0315 avatar github-actions[bot] avatar jhk0530 avatar jinseob2kim avatar koolerjaebee avatar olivroy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jsmodule's Issues

Error with the descriptive table

I have been using jsmodule. I have run the example code from tb1moduleUI from the vignette but I keep getting "Warning: Error in [: invalid subscript type 'list'". I run the code exactly as it is in the example:

library(shiny);library(DT);library(data.table);library(jstable)
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
tb1moduleUI("tb1")
),
mainPanel(
DTOutput("table1")
)
)
)
server <- function(input, output, session) {
data <- reactive(mtcars)
data.label <- reactive(jstable::mk.lev(mtcars))
out_tb1 <- callModule(tb1module2, "tb1", data = data, data_label = data.label,
data_varStruct = NULL)
output$table1 <- renderDT({
tb <- out_tb1()$table
cap <- out_tb1()$caption
out.tb1 <- datatable(tb, rownames = T, extension= "Buttons", caption = cap)
return(out.tb1)
})
}

I think this is coming from the line: tb <- out_tb1()$table

Can you tell me what is wrong?

non-zero exit status

Hi, I've encountered the following issue and was unable to install the package:

  • installing source package 'jsmodule' ...
    ** package 'jsmodule' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'ellipsis' 0.3.1 is already loaded, but >= 0.3.2 is required
    Calls: ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
    Execution halted
    ERROR: lazy loading failed for package 'jsmodule'
  • removing 'F:/Documents/R/win-library/4.0/jsmodule'
    Warning in install.packages :
    installation of package ‘E:/Downloads/jsmodule_1.3.0.tar.gz’ had non-zero exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.