Giter Club home page Giter Club logo

sample-size-shinyapp's Introduction

R Shinyapp Sample size

This shinyapp will calculate the sample size needed for a given power.

Usage

More details are available in the documentation: DOCS.md

Source Code

Sample size shinyapp is an open source project, and the source code is available at in this repository with the main web app code in app.R.

Running the web apps locally

Users with strong programming skills might like to modify the existing R code and run a version of the web apps locally.

  1. The first step is to download the code. You can do this with git:

git clone https://github.com/solislemuslab/sample-size-shinyapp.git

  1. Make sure you have the dependencies installed. You can use the following command in R to install all the package dependencies:
list.of.packages <- c(
  "shiny", 
  "ggplot2", 
  "bslib",
  "DT",
  "tidyverse",
  "greekLetters",
  "thematic",
  "shinyhelper",
  "shinyBS")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[, "Package"])]
if(length(new.packages)) install.packages(new.packages)
  1. Within R, you can run the web app with the following command:

shiny::runApp("/path/to/sample-size-shinyapp")

Contributions

Users interested in expanding functionalities in the sample size shiny app are welcome to do so. See details on how to contribute in CONTRIBUTING.md

License

The sample size shiny app is licensed under the MIT licence. © Solis-Lemus Lab (2021)

Feedback, issues and questions

Issues reports are encouraged through the GitHub issue tracker

sample-size-shinyapp's People

Contributors

crsl4 avatar nathanasiou avatar

Watchers

 avatar

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.