This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
out <- renv::dependencies() | |
ps <- out$Package %>% unique() | |
missing <- setdiff(ps, installed.packages()) # can take a long time | |
missing | |
install.packages(missing) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
data(mtcars) | |
mtcars %>% | |
select(mpg, hp) %>% | |
slice_head(n = 5) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data(mtcars) | |
library(dplyr) # nicht "tidyverse", denn "dplyr" reicht | |
mtcars %>% | |
filter(am = 0) # den kürzesten Code, der Ihren Fehler entstehen lässt! | |
sessionInfo() # gibt Infos zur R-Version etc. aus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
source('geom_font_awesome.R') | |
shapes_map = c( | |
setosa = 'car', | |
virginica = 'ban', | |
versicolor = 'star' | |
) | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```{r libs, include = FALSE} | |
library(tidyverse) | |
``` | |
```{r global-knitr-options, include=FALSE} | |
knitr::opts_chunk$set(fig.pos = 'H', | |
fig.asp = 0.618, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```{r libs, include = FALSE} | |
library(tidyverse) | |
``` | |
```{r global-knitr-options, include=FALSE} | |
knitr::opts_chunk$set(fig.pos = 'H', | |
fig.asp = 0.618, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Grading BDA WS20" | |
author: "Sebastian Sauer" | |
date: "2/5/2021" | |
output: html_document | |
--- | |
```{r global-knitr-options, include=FALSE} | |
knitr::opts_chunk$set(fig.pos = 'H', | |
fig.asp = 0.618, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extract_solutions <- function(file) { | |
require(tidyverse) | |
# input: | |
# file: the output file from the exam2nops call storing the exams meta info | |
# output: | |
# list of solutions for each exam variant and each question |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex 2020.1.13) 28 JAN 2020 11:54 | |
entering extended mode | |
restricted \write18 enabled. | |
%&-line parsing enabled. | |
**testing.tex | |
(./testing.tex | |
LaTeX2e <2019-10-01> patch level 3 | |
(/Users/sebastiansaueruser/Library/TinyTeX/texmf-dist/tex/latex/beamer/beamer.c | |
ls |
NewerOlder