forked from jbkunst/highcharter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
174 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#' City temperatures from a year | ||
#' | ||
#' This data comes from the \url{http://www.highcharts.com/} examples. | ||
#' | ||
#' @section Variables: | ||
#' | ||
#' \itemize{ | ||
#' | ||
#' \item \code{month}: The months. | ||
#' \item \code{tokyo}: Tokyo's temperatures. | ||
#' \item \code{new_york}: New york's temperatures. | ||
#' \item \code{berlin}: Berlin's temperatures. | ||
#' \item \code{london}: Londo's temperatures. | ||
#' | ||
#' } | ||
#' | ||
#' @docType data | ||
#' @name citytemp | ||
#' @usage citytemp | ||
#' @format A \code{data frame} with 12 observations and 5 variables. | ||
#' @examples | ||
#' data(citytemp) | ||
#' citytemp | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
library("dplyr") | ||
citytemp <- data_frame( | ||
month = month.abb, | ||
tokyo = c(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6), | ||
new_york = c(-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5), | ||
berlin = c(-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0), | ||
london = c(3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8)) | ||
|
||
save(citytemp, file = "data/citytemp.rda") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.