Coder Social home page Coder Social logo

rsquaredacademy / xplorerr Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 12.0 2.7 MB

Shiny apps for interactive data analysis, visualization and modeling.

Home Page: https://xplorerr.rsquaredacademy.com/

License: Other

R 100.00%
shiny-apps rstats r statistics visualization data exploration

xplorerr's Introduction

xplorerr

Tools for interactive data analysis

CRAN_Status_Badge cran checks R build status status Lifecycle: stable

Overview

xplorerr provides a set of tools for interactive data analysis:

  • Descriptive statistics
  • Visualize probability distributions
  • Inferential statistics
  • Linear regression
  • Logistic regression
  • RFM Analysis
  • Data visualization
    • ggplot2
    • plotly
    • rbokeh
    • highcharter

Installation

# Install release version from CRAN
install.packages("xplorerr")

# Install development version from GitHub
# install.packages("devtools")
devtools::install_github("rsquaredacademy/xplorerr")

Usage

Descriptive Statistics

Generate descriptive statistics such as measures of location, dispersion, frequency tables, cross tables, group summaries and multiple one/two way tables.

app_descriptive()

Visualize Probability Distributions

Visualize and compute percentiles/probabilities of normal, t, f, chi square and binomial distributions.

app_vistributions()

Inferential Statistics

Select set of parametric and non-parametric statistical tests. ‘inferr’ builds upon the solid set of statistical tests provided in ‘stats’ package by including additional data types as inputs, expanding and restructuring the test results. The tests included are t tests, variance tests, proportion tests, chi square tests, Levene’s test, McNemar Test, Cochran’s Q test and Runs test.

app_inference()

Linear Regression

Tools designed to make it easier for users, particularly beginner/intermediate R users to build ordinary least squares regression models. Includes comprehensive regression output, heteroskedasticity tests, collinearity diagnostics, residual diagnostics, measures of influence, model fit assessment and variable selection procedures.

app_linear_regression()

Logistic Regression

Tools designed to make it easier for beginner and intermediate users to build and validate binary logistic regression models. Includes bivariate analysis, comprehensive regression output, model fit statistics, variable selection procedures, model validation techniques and a ‘shiny’ app for interactive model building.

app_logistic_regression()

RFM Analysis

Tools for RFM (recency, frequency and monetary value) analysis. Generate RFM score from both transaction and customer level data. Visualize the relationship between recency, frequency and monetary value using heatmap, histograms, bar charts and scatter plots.

app_rfm_analysis()

Data Visualization

Tools for interactive data visualization . Users can visualize data using ‘ggplot2’, ‘plotly’, ‘rbokeh’ and ‘highcharter’ libraries.

app_visualizer()

xplorerr's People

Contributors

aravindhebbali avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

xplorerr's Issues

0.1.1 checklist

Prepare for release:

  • devtools::check_win_devel()
  • rhub::check_for_cran()
  • Polish NEWS

Perform release:

  • Bump version (in DESCRIPTION and NEWS)
  • devtools::check_win_devel() (again!)
  • devtools::submit_cran()
  • pkgdown::build_site()
  • Approve email

Wait for CRAN...

  • Tag release
  • Bump dev version

Template from r-lib/usethis#338

A/B testing app

Add an A/B testing app.. Depends on rsquaredacademy/inferr#52

Deploy apps

Deploy apps on cloud for live demonstration.

Split apps

Create app by package type.

  • Base R
  • ggplot2
  • plotly
  • highcharts
  • rbokeh

could not find function "screener"

Tried the shiny app locally, got:

Error in screener: could not find function "screener"
  101: renderPrint [logic/logic_screen.R#3]
  100: func
   84: origRenderFunc
   83: output$screen
    3: shiny::runApp
    2: xplorerr::app_logistic_regression
    1: blr_launch_app

Add test

Use shinytest package to test the apps.

Incorrect package alias

From CRAN:

Dear maintainer,

You have file 'xplorerr/man/xplorerr.Rd' with \docType{package}, likely
intended as a package overview help file, but without the appropriate
PKGNAME-package \alias as per "Documenting packages" in R-exts.

This seems to be the consequence of the breaking change

  Using @docType package no longer automatically adds a -package alias.
  Instead document _PACKAGE to get all the defaults for package
  documentation.

in roxygen2 7.0.0 (2019-11-12) having gone unnoticed, see
<https://github.com/r-lib/roxygen2/issues/1491>.

As explained in the issue, to get the desired PKGNAME-package \alias
back, you should either change to the new approach and document the new
special sentinel

  "_PACKAGE"

or manually add

  @aliases xplorerr-package

if remaining with the old approach.

Please fix in your master sources as appropriate, and submit a fixed
version of your package within the next few months.

Best,
-k

In the shiny app, possibilty to import R files is missing

This is a request for enhancement in ds_launch_shiny_app():

  1. In the app, I missed a possibility to import files from R formats, especially ".Rds" files.

  2. Possibility to import datasets from current workspace would also be helpful. This would solve most of the issues related to data import features.

Integrate reports

Make automated reports from report package part of the following apps:

  • app_descriptive()
  • app_rfm_analysis()
  • app_linear_regression()
  • app_logistic_regression()

Download data sets

Users should be able to download:

  • training and test data sets in:
    • app_linear_regression()
    • app_logistic_regression()
  • RFM table in app_rfm_analysis()

Visualization app launch error

library(xplorerr);
app_visualizer()
#> Warning in paste0(pkg, " must be installed for this functionality."):
#> restarting interrupted promise evaluation
#> Error in check_suggests(shiny): object 'shiny' not found

Created on 2019-09-25 by the reprex package (v0.3.0)

0.1.0 checklist

Prepare for release:

  • Check that description is informative
  • Check licensing of included files
  • devtools::check_win_devel()
  • rhub::check_for_cran()

Perform release:

  • Bump version (in DESCRIPTION and NEWS)
  • Update NEWS
  • Update CRAN comments
  • Check package version in zzz.R
  • devtools::check_win_devel() (again!)
  • devtools::submit_cran()
  • pkgdown::build_site()
  • Approve email

Wait for CRAN...

Generate R code

Generate R code for plots which can then be used by the user to reproduce the plots.

Release 0.1.2

Prepare for release:

  • Check that description is informative
  • Check licensing of included files
  • devtools::check_win_devel()
  • rhub::check_for_cran()
  • Update cran-comments.md
  • Polish NEWS

Submit to CRAN:

  • Bump version (in DESCRIPTION and NEWS)
  • devtools::check_win_devel() (again!)
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted
  • Tag release
  • Bump dev version
  • pkgdown::build_site()

Template from r-lib/usethis#338

CRAN note

Suggested package rbokeh has been archived.


Version: 0.1.2
Check: package dependencies
Result: NOTE
  Package suggested but not available for checking: ‘rbokeh’```

https://cran.r-project.org/web/checks/check_results_xplorerr.html

Deprecated functions

Warning: `aes_string()` was deprecated in ggplot2 3.0.0.
ℹ Please use tidy evaluation idioms with `aes()`.
ℹ See also `vignette("ggplot2-in-packages")` for more information.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: 'hcboxplot' is deprecated.
Use 'data_to_boxplot' instead.
See help("Deprecated")
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.

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.