forked from ISAAKiel/R-Tutorial_CAA2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages_installieren.R
44 lines (39 loc) · 1003 Bytes
/
packages_installieren.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# R Update
install.packages("installr")
library(installr)
# updateR()
# Installation von ein paar wichtigen Paketen
install.packages("BB")
install.packages("ca")
install.packages("classInt")
install.packages("devtools")
install.packages("dplyr")
install.packages("ggplot2")
install.packages("imager")
install.packages("ineq")
install.packages("magrittr")
install.packages("markdown")
install.packages("mapproj")
install.packages("maps")
install.packages("knitr")
install.packages("igraph")
install.packages("packrat")
install.packages("raster")
install.packages("RCurl")
install.packages("rgdal")
install.packages("rgeos")
install.packages("rmarkdown")
install.packages("sp")
install.packages("spatial")
install.packages("spatstat")
install.packages("sqldf")
install.packages("tidyr")
install.packages("vegan")
install.packages("XML")
# Testplot
library(ggplot2)
mtcars -> test
test$cyl <- as.factor(test$cyl)
test$gear <- as.factor(test$gear)
ggplot(test, aes(x = cyl, fill = gear)) +
geom_bar()