vvdoctor

R Shiny app / package to automate statistical testing

https://github.com/vusaverse/vvdoctor

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.1%) to scientific vocabulary

Keywords

hypothesis-testing r- r-shiny r-stats shiny-apps shiny-r statistical-tests statistics stats
Last synced: 6 months ago · JSON representation

Repository

R Shiny app / package to automate statistical testing

Basic Info
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 1
  • Open Issues: 2
  • Releases: 1
Topics
hypothesis-testing r- r-shiny r-stats shiny-apps shiny-r statistical-tests statistics stats
Created over 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License

README.md

vvdoctor

R-CMD-check

CodeFactor

CRAN status

The diffify page for the R package vvdoctor

CRAN last month downloads

CRAN last month downloads

vvdoctor is an R package/Shiny app that provides a user-friendly interface for data analysis. It allows users to upload data files, visualize the data, perform statistical tests, and interpret the results.

The app is currently live on shinyapps.io, see: https://edulytics.shinyapps.io/vvdoctor/

Usage

``` r

Install the app

devtools::install_github("vusaverse/vvdoctor") library(vvdoctor)

run the app

vvdoctor::run_vvdoctor() ```

  • Uploading Data Files: Click on the "Browse" button to select and upload your data file in CSV or Excel format.

  • Displaying the Dataframe: Once the data file is uploaded, the app will display the data as a dataframe. You can explore the data by scrolling through the table or using the search and filter options.

  • Generating a Histogram: To generate a histogram of a specific variable, select a numeric dependent variable from the dropdown menu. The histogram will be displayed, allowing you to visualize the distribution of the data.

  • Choosing Dependent and Independent Variables: To perform statistical tests, select the dependent and independent variables from the respective dropdown menus. The available variables will be automatically populated based on the uploaded data.

  • Statistical Test Options: Once the variables are selected, the app will provide a list of statistical test options, such as t-tests, ANOVA, or correlation analysis. Choose the desired test and click on the "Run Test" button. The output of the test will be displayed, including the test statistic, p-value, and any additional relevant information.

Supported File Extensions

Currently, the following file types are supported:

| Full File Type Name | Full Extension Name | Package | Read Function | Parsable Arguments | |----------------------|---------------------|---------|---------------|--------------------| | R Data File | .RData | base | readRDS | None | | ASCII Text File | .asc | utils | read.table | None | | Comma Separated Values File | .csv | utils | read.csv | sep, header | | Apache Feather File | .feather | feather | readfeather | None | | Fixed-Size File | .fst | fst | readfst | None | | Apache Parquet File | .parquet | arrow | readparquet | None | | R Data File | .rda | base | readRDS | None | | R Data File | .rds | base | readRDS | None | | SPSS Data File | .sav | haven | readsav | None | | Tab Separated Values File | .tsv | utils | read.delim | sep, header | | Text File | .txt | utils | read.delim | sep, header | | Microsoft Excel File | .xlsx | readxl | read_excel | None |

Decision Tree for Statistical Test Selection

Based on the characteristics of the input data, the vvdoctor app uses the following decision tree to select the appropriate statistical test:

Decision Tree Flowchart

This flowchart illustrates the process of selecting a statistical test based on the class of independent/dependent variables, whether the test is paired or unpaired, and whether the data is normally distributed.

Overview of Implemented Statistical Test

The table below serves as a reference for understanding the logic behind the app's functionality, showcasing how different statistical tests are executed through various R packages and functions.

| Statistical Test Name | R Package | R Function (from the package) | |------------------------------------------------------------|------------|---------------------------------| | Sign Test | DescTools | SignTest() | | Wilcoxon Signed Rank Test | stats | wilcox.test() | | Mann-Whitney U Test | stats | wilcox.test() | | Kruskal-Wallis Test | stats | kruskal.test() | | One Sample t-test | stats | t.test() | | Paired t-test | stats | t.test() | | Independent Samples t-test | stats | t.test() | | Repeated Measures ANOVA | ez | ezANOVA() | | One-way ANOVA | stats | aov() | | Chi-Square Goodness-of-Fit and Binomial Test | stats | chisq.test() | | McNemar's Test | exact2x2 | exact2x2() | | Chi-Square Test for Independence and Fisher's Exact Test | stats | chisq.test() | | Bhapkar's Test | irr | bhapkar() |

Example

Below is a screenshot of an example in vvdoctor.

example

Owner

  • Name: vusaverse
  • Login: vusaverse
  • Kind: organization
  • Location: Netherlands

The vusaverse is a collection of R packages in the scope of Student Analytics.

GitHub Events

Total
  • Issues event: 2
  • Watch event: 2
  • Delete event: 1
  • Push event: 22
  • Pull request event: 1
Last Year
  • Issues event: 2
  • Watch event: 2
  • Delete event: 1
  • Push event: 22
  • Pull request event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 9
  • Total pull requests: 5
  • Average time to close issues: 5 days
  • Average time to close pull requests: 1 day
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.56
  • Average comments per pull request: 0.2
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: 1 day
  • Average time to close pull requests: 1 day
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.5
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Tomeriko96 (8)
  • tin900 (1)
Pull Request Authors
  • Tomeriko96 (3)
  • Copilot (2)
Top Labels
Issue Labels
enhancement (3)
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 306 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: vvdoctor

Statistical Test App with R 'shiny'

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 306 Last month
Rankings
Dependent packages count: 27.8%
Dependent repos count: 35.7%
Average: 49.5%
Downloads: 84.9%
Maintainers (1)
Last synced: 6 months ago