madis is an open-source platform-independent browser-based interface for data manipulating and analyzing in R. The application is based on Shiny and can be run locally or on a server. Please use the issue tracker on GitHub to suggest enhancements or report problems.
There are chinese and english versions.
Madis(wd=getwd(),lang='ch')
for chinese version.
Madis(wd=getwd(),lang='en')
for english version.
You could use several data manipulating functions in data manipulation
menu.
The univaraite analysis provides basic univariate descriptive analysis. The results are automaticlly generated according to the distribution of the selected variable.
Bivariate analysis provides automaticlly hypothesis test for two (or one) variables, including hypothesis test for one sample, two independent samples or matched samples. Different hypothesis test methods are used according to the distribution of the sample. You could see help(hTest)
for more detail.
To conduct high-quality analysis, statistical model should be used. In madis, you can select models such as linear model, cox proportional hazards model, decision tree model, mixed model, clustering analysis, principal component analysis, factor analysis, propensity score matching, and time-series model to find deep relationships between independent variables and dependent variable.
Although madis's web-interface can handle quite a few data and analysis tasks, you may prefer to write your own R-code. madis provides a bridge to progamming in R(studio) by exporting the functions used for analysis (i.e., you can select the button Custom function?
to create your own function in madis).
madis can create a report (PDF,Word,and HTML) using Rmarkdown. You can customize your report by using the button (Whether to export the report
) in each module. madis also provides an output interface in each module so you can easily get the intermediate result to alaysis or write it into your report.
To install the latest version of madis for Windows or Mac, with complete documentation for off-line access, open R(studio) and copy-and-paste the command below:
devtools::install_github("sontron/madis")
Once all packages are installed use the command below to launch the app:
Madis(wd=getwd(),lang='en') # where lang could be en(english version) or cn(chinese version).
Please use the GitHub issue tracker at github.com/radiant-rstats/radiant/issues if you have any problems using madis.
madis would not be possible without R and Shiny. Other key components used in madis are ggplot2, shinyAce, shiny, shinythemes, shinyWidgets, stringi, reshape2, vcdExtra, pander, rmarkdown, rms, ggfortify, party, partykit, rpart, moonBook, fBasics, plotly, prophet, skimr, rio, rhandsontable, ROCR.
If you are interested in using madis please email me at sontron@foxmail.com
madis目前是基于R和Shiny以及常见的统计分析包搭建而成的,能够提供数据的交互式处理(包括数据整理、清洗、变量操作、字符串操作等)、数据统计分析、模型分析、数据挖掘、以及一键生成分析报告。
madis包含了中文和英文版本, 参数lang分别定义了两种语言的版本。
中文版本请运行Madis(wd=getwd(),lang='ch')
.
若使用英文版本请运行Madis(wd=getwd(),lang='en')
.
数据操作提供了一些常用的数据操作的功能:
单变量分析主要提供单变量的描述性分析结果,主要包含常见的均值、标准差、中位数、四分位数间距、频数表;直方图、条图等
双变量分析主要提供了常见的假设检验方法,并能根据数据的类型和数据的分布进行统计方法的自动选择。统计方法包括:t检验、方差分析、wilcoxon秩和检验、相关性检验、配对t检验、配对秩和检验,卡方检验、fisher检验,CMH检验等方法。
描述性统计表提供了一键生成汇总统计表的功能,常见于各类期刊的table1.
模型分析包含了线性模型(普通线性模型、logistic模型、泊松回归模型)、决策树模型、cox模型和混合效应模型。
madis提供了完善的统计分析函数,但是也提供了一定的灵活性,用户可以自行定义一些分析中的参数,如在模型分析中,用户可以调整自变量,以实现更加灵活的分析
madis可以将结果导出到报告中,方便用户进行查阅、分析以及交流使用。
要求: R3.3.0以上版本
可选: 若需要生成pdf文档,则需要安装tex软件,常见的是texlive或miketex。
运行以下命令进行安装:
devtools::install_github("sontron/madis")
Madis(wd=getwd(),lang='ch')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.