Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

R package with Project MOSAIC datasets

NotificationsYou must be signed in to change notification settings

ProjectMOSAIC/mosaicData

Repository files navigation

mosaicData provides a number of data sets associated with ProjectMOSAIC.

Documentation

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

Installation

You can install the released version of mosaicData fromCRAN with:

install.packages("mosaicData")

And the development version fromGitHub 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)#> # A tibble: 6 × 25#>   city     date        year month   day high_temp avg_temp low_temp high_dewpt#>   <chr>    <date>     <dbl> <int> <dbl>     <dbl>    <dbl>    <dbl>      <dbl>#> 1 Auckland 2016-01-01  2016     1     1        68       65       62         64#> 2 Auckland 2016-01-02  2016     1     2        68       66       64         64#> 3 Auckland 2016-01-03  2016     1     3        77       72       66         70#> 4 Auckland 2016-01-04  2016     1     4        73       66       60         66#> 5 Auckland 2016-01-05  2016     1     5        69       62       55         55#> 6 Auckland 2016-01-06  2016     1     6        69       63       57         54#> # ℹ 16 more variables: avg_dewpt <dbl>, low_dewpt <dbl>, high_humidity <dbl>,#> #   avg_humidity <dbl>, low_humidity <dbl>, high_hg <dbl>, avg_hg <dbl>,#> #   low_hg <dbl>, high_vis <dbl>, avg_vis <dbl>, low_vis <dbl>,#> #   high_wind <dbl>, avg_wind <dbl>, low_wind <dbl>, precip <chr>, events <chr>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))

About

R package with Project MOSAIC datasets

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors5

Languages


[8]ページ先頭

©2009-2025 Movatter.jp