7 Commits

Author SHA1 Message Date
62aa22a678 function c
demo function ggplot lines
2019-12-20 10:51:31 +01:00
8c7eacfdbd function a
demo ggplot function
2019-12-20 10:48:44 +01:00
3c4b0b93f6 add libraries 2019-12-20 10:46:05 +01:00
7148d6fbca add lines to plot 2019-12-20 10:46:05 +01:00
5bc0a6d998 function g
demo if else
2019-12-20 10:46:05 +01:00
44e933d40d python function amended 2019-12-20 10:42:53 +01:00
73b6f2ea41 function b
demo ggplot points
2019-12-20 10:29:24 +01:00

View File

@@ -1,12 +1,47 @@
library(ggplot2); library(grid)
Hello! Hello!
b <- function() {
#this function is a demo function
ggplot() +
ggpoint() +
scale_discrete() +
theme()
}
def neue_funktion(): def neue_funktion():
print("kreativ") print("kreativ")
print("sven")
c <- function() {
#this function is a demo function
ggplot() +
gglines() +
scale_discrete() +
theme()
}
print("welt") print("welt")
g <- if(b == a) {
print("bla bla")
} else {
print("nee")
}
print("issues") print("issues")
a <- function() {
#this function is a demo function
ggplot() +
ggbar() +
scale_discrete() +
theme()
}
plot(letters[1:5], seq(1:5)) plot(letters[1:5], seq(1:5))
lines(1:5, rep(1,5), col="red")
lines(rep(2,5), 1:5, col="green")
grid() grid()
#finale oh oh #finale oh oh