Bitte ignorieren

reload.project()
## Loading project configuration
## Autoloading helper functions
##  Running helper script: 00-packages.R
## Loading required package: foreach
## Loading required package: iterators
## Loading required package: snow
##  Running helper script: 01-config.R
##  Running helper script: 02-tools.R
##  Running helper script: 05-tabulate.R
##  Running helper script: 10-sample.R
##  Running helper script: 20-estimate.R
##  Running helper script: 30-simulate.R
##  Running helper script: 40-analyze.R
##  Running helper script: 41-load-analysis.R
##  Running helper script: 45-compute-error.R
##  Running helper script: 48-compute-indicators.R
## Autoloading data
##  Loading cached data set: indicators.1
##  Loading cached data set: indicators.2
##  Loading cached data set: indicators.3
##  Loading cached data set: permutations
##  Loading data set: full.pop

Verschiedene Schriftgrössen bei gleicher Auflösung:

ggplot(iris) + theme_bw() + geom_point(aes(x = Petal.Width, y = Petal.Length))

plot of chunk unnamed-chunk-2


ggplot(iris) + theme_bw(24) + geom_point(aes(x = Petal.Width, y = Petal.Length))

plot of chunk unnamed-chunk-2


ggplot(iris) + theme_bw(36) + geom_point(aes(x = Petal.Width, y = Petal.Length))

plot of chunk unnamed-chunk-2

Beispiel zum Speichern in eine Datei:

POINTSIZE <- 36
png(filename = "iris.png", width = 1200, height = 800, pointsize = POINTSIZE)
ggplot(iris) + theme_bw(POINTSIZE) + geom_point(aes(x = Petal.Width, y = Petal.Length))
dev.off()
## pdf 
##   2

Beispiel zum Speichern in eine Datei mit 300 dpi Auflösung und sonst unverändertem Plot:

png(filename = "iris2.png", width = 10, height = 6, units = "in", res = 300)
ggplot(iris) + theme_bw() + geom_point(aes(x = Petal.Width, y = Petal.Length))
dev.off()
## pdf 
##   2