knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

mosaicData

mosaicData provides a number of data sets associated with Project MOSAIC.

Documentation

Find documenation and additional information at http://www.mosaic-web.org/mosaicData/.

Installation

You can install the released version of mosaicData from CRAN with:

install.packages("mosaicData")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("ProjectMOSAIC/mosaicData")

Example

This is a basic example which shows you how to solve a common problem:

library(mosaicData)
suppressPackageStartupMessages(library(ggformula))
head(Weather)
gf_linerange(high_temp + low_temp ~ date | city ~ ., color = ~avg_temp, data = Weather) |>
  gf_refine(scale_color_viridis_c(option = "D", end = 0.95, begin = 0.1))


ProjectMOSAIC/mosaicData documentation built on Nov. 15, 2023, 3:49 p.m.