Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ProjectMOSAIC/mosaicData

R package with Project MOSAIC datasets
https://github.com/ProjectMOSAIC/mosaicData

Last synced: 9 days ago
JSON representation

R package with Project MOSAIC datasets

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
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 .

## Installation

You can install the released version of mosaicData from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("mosaicData")
```

And the development version from [GitHub](https://github.com/) with:

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

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

```{r example}
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))
```