Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c49f1364b9 | |||
| 1a6df64a6d | |||
| 4d6c216b0d | |||
| 31c96cfa99 | |||
| 672300019d | |||
| 3158fefa3a | |||
| 49bb0ddc29 | |||
| 62aa22a678 | |||
| 8c7eacfdbd | |||
| 3c4b0b93f6 | |||
| 7148d6fbca | |||
| 5bc0a6d998 | |||
| 44e933d40d | |||
| 73b6f2ea41 |
35
Datei1.txt
35
Datei1.txt
@@ -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
|
||||||
|
|||||||
16
demoFZSTAM.R
Normal file
16
demoFZSTAM.R
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
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