Code Monkey home page Code Monkey logo

memery's Introduction

memery

Project Status: Active – The project has reached a stable, usable state and is being actively developed. CRAN status CRAN downloads Github Stars

Make memorable plots with memery.

The memery package generates internet memes that optionally include a superimposed inset plot and other atypical features, combining the visual impact of an attention-grabbing meme with graphic results of data analysis.

The package differs from related packages that focus on imitating and reproducing standard memes. Some packages do this by interfacing with online meme generators whereas others achieve this natively. This package takes the latter approach. It does not interface with online meme generators or require any authentication with external websites. It reads images directly from local files or via URL and meme generation is done by the package.

While this is similar to the meme package available on CRAN, it differs in that the focus is on allowing for non-standard meme layouts and hybrids of memes mixed with graphs. While this package can be used to make basic memes like an online meme generator would produce, it caters primarily to hybrid graph-meme plots where the meme presentation can be seen as a backdrop highlighting foreground graphs of data analysis results.

The package also provides support for an arbitrary number of meme text labels with arbitrary size, position and other attributes rather than restricting to the standard top and/or bottom text placement. This is useful for proper aesthetic interleaving of plots of data between meme image backgrounds and overlain text labels. The package offers a selection of templates for graph placement and appearance with respect to the underlying meme. Graph templates also permit additional template-specific customization. Animated gif support is provided but this is optional and functional only if the magick package is installed.

Installation

Install the CRAN release of memery with

install.packages("memery")

Install the development version from GitHub with

# install.packages("remotes")
remotes::install_github("leonawicz/memery")

See the vignette for an overview with usage examples.

Contribute

Contributions are welcome. Contribute through GitHub via pull request. Please create an issue first if it is regarding any substantive feature add or change.


Please note that the memery project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

memery's People

Contributors

leonawicz avatar

Stargazers

 avatar Huiyan Wan avatar Alex avatar Indrajeet Patil avatar Alain Quartier-la-Tente avatar Martin O'Neill avatar Xiangyun Huang avatar Claudia Mihai avatar Wilson Freitas avatar Víctor Granda avatar Shinya Uryu avatar Leo Lee avatar  avatar David F. Severski avatar Roberto Salas avatar Nicholas Tierney avatar Azad Amir-Ghassemi avatar

Watchers

James Cloos avatar  avatar

Forkers

baifengbai

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.