Skip to content

AnthonyWeidner/rstats-gsoc2022-animint2-ggplots

Repository files navigation

Anthony Weidner GSoC 2022 Animated Interactive ggplots

Working with animint2, ggplots, and multiple data sets & images.

Easy Tests

I tested out plot analysis and graphs on multiple data sets using skills learned from the animint2 Manual. I uploaded my visualizations to the web using animint2gist(). Source Code and Experimentation | Further Experimentation, Bug Fixing, and Testing

Here is an example of an animint published using animint2gist(). I then reversed and changed the graph here as part of the exercises in the animint manual.

I also developed an interactive shinyDashboard app as part of visualizing University of California data using ggplots, allowing the user to change which data is presented. Interactive UI Application Source Code

Medium Test

I implemented and translated flip.coin() into an animint. The following animation successfully displays a generated animint2gist() of a random distribution of heads (1) vs. tails (2) for 100 tosses of a fair coin (p=0.5). Animation of coin flipping simulation | My Source Code

Hard Test

I wrote some testthat unit tests based on my Animint visualization from the Medium Test. For instance, I wanted to test whether animint2gist() was actually returning an object of class "gist." I am also working on testing whether the number of coin flips done actually is interpreted correctly as 100 by using expect_identical(). I used the various testthat resources available on the animint GitHub. Hard Test Source Code and Experimentation

About

Working with animint2 and ggplots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages