Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

vbonhomme/Momosaics

Repository files navigation

experimental Travis-CI Build Status CRAN_Status_Badge Coverage Status CRAN downloads last month CRAN downloads grand total

Momosaics

Momosaics uses primitive layers to draw many shapes or subplots as mosaics of plots.

Installation

You can install Momosaics from github with:

# install.packages("devtools")
devtools::install_github("vbonhomme/Momosaics")

Example

# First load Momosaics
library(Momosaics)
# To benefit its datasets
library(Momocs)
mosaic_wrap(bot$coo) %>% 
  mosaic_empty_plot() %>% 
  add_outlines()

mosaic_wrap_factor(bot$coo, bot$fac$type) %>% 
  mosaic_empty_plot() %>% 
  add_outlines(col=palettize(bot$fac$type, col_summer)) %>% 
  add_text() %>% 
  add_headers()

More to come.

About

Plots and shapes as mosaics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages