esmisc
is a R package containing misc functions of Eduard Szöcs.
Currently the following functions are available:
read_regnie()
reads DWD REGNIE data into R.theme_edi()
is a custom ggplot2 theme that I use.esmisc
is currently only available on github. To install esmisc
use:
install.packages('devtools') library(devtools) install_github('esmisc', 'EDiLD') library(esmisc)
library(esmisc)
r <- read_regnie(system.file("extdata", "ra050120.gz", package = "esmisc")) # plot the raster require(raster) plot(r, main = 'Precipitation on 20.01.2005')
library(ggplot2) p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg, colour = factor(gear))) + facet_wrap(~am) + theme_edi() p
mean(c(1, 10, 100)) geomean(c(1, 10, 100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.