Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 947fcfe255 |
35
Datei1.txt
35
Datei1.txt
@@ -1,47 +1,12 @@
|
||||
library(ggplot2); library(grid)
|
||||
Hello!
|
||||
|
||||
b <- function() {
|
||||
#this function is a demo function
|
||||
ggplot() +
|
||||
ggpoint() +
|
||||
scale_discrete() +
|
||||
theme()
|
||||
}
|
||||
|
||||
def neue_funktion():
|
||||
print("kreativ")
|
||||
print("sven")
|
||||
|
||||
c <- function() {
|
||||
#this function is a demo function
|
||||
ggplot() +
|
||||
gglines() +
|
||||
scale_discrete() +
|
||||
theme()
|
||||
}
|
||||
|
||||
print("welt")
|
||||
|
||||
g <- if(b == a) {
|
||||
print("bla bla")
|
||||
} else {
|
||||
print("nee")
|
||||
}
|
||||
|
||||
print("issues")
|
||||
|
||||
a <- function() {
|
||||
#this function is a demo function
|
||||
ggplot() +
|
||||
ggbar() +
|
||||
scale_discrete() +
|
||||
theme()
|
||||
}
|
||||
|
||||
plot(letters[1:5], seq(1:5))
|
||||
lines(1:5, rep(1,5), col="red")
|
||||
lines(rep(2,5), 1:5, col="green")
|
||||
grid()
|
||||
|
||||
#finale oh oh
|
||||
|
||||
16
demoFZSTAM.R
16
demoFZSTAM.R
@@ -1,16 +0,0 @@
|
||||
library(ggplot2); library(RODBC)
|
||||
|
||||
channel <- odbcConnect("ebv_d29", uid = "RECKLINGK", pwd = "stapler13")
|
||||
test <- sqlQuery(channel, stringsAsFactors=F,
|
||||
"SELECT FZSTAM.FIRNR, FZSTAM.FAZID, FZSTAM.FAZFI, FZSTAM.BAUJJ
|
||||
FROM FZSTAM
|
||||
WHERE FZSTAM.FIRNR = 1
|
||||
LIMIT 1000
|
||||
")
|
||||
odbcCloseAll(); rm(channel)
|
||||
|
||||
ggplot(test, aes(x=FAZID)) +
|
||||
geom_line(aes(y=FAZFI)) +
|
||||
geom_line(aes(y=BAUJJ), col="red") +
|
||||
scale_fill_hue(c = 40) +
|
||||
theme_bw()
|
||||
Reference in New Issue
Block a user