mirror of
https://github.com/theoleuthardt/homelab-docker-compose.git
synced 2026-06-05 23:41:07 +00:00
feat: add rstudio deployment
This commit is contained in:
parent
7486662cc8
commit
8d2f7ec654
225 changed files with 1582 additions and 5 deletions
13
rstudio/Klausur/Probeklausur.R
Normal file
13
rstudio/Klausur/Probeklausur.R
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
library(corrgram)
|
||||
|
||||
xx <- data.frame(a=c(1,2,3,4,5), b=c(2,1,4,3,5))
|
||||
mean(xx$b)
|
||||
corelation <- cor(xx, use = "complete.obs")
|
||||
print(corelation)
|
||||
|
||||
plot(xx)
|
||||
li <- lm(b~a, data=xx)
|
||||
abline(li)
|
||||
|
||||
corrgram(xx, main="Korrelogramm", lower.panel=panel.pts,
|
||||
upper.panel=panel.cor)
|
||||
Loading…
Add table
Add a link
Reference in a new issue