Skip to content

Commit

Permalink
Slides for weeks 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Feb 13, 2024
1 parent be655ce commit c759226
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default: preview

preview:
quarto preview --no-serve --no-watch-inputs --no-browser
quarto preview --no-serve --no-browser

build:
quarto render
Expand Down
11 changes: 6 additions & 5 deletions week1/slides.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ z <- f(x)
untracemem(x)
```

\only<2>{\placefig{8}{4}{width=7.5cm, height=20cm}{../diagrams/name-value/binding-f1.png}}


## Lists {#list-references}

Lists store references to their elements,\newline
Expand Down Expand Up @@ -269,7 +266,7 @@ d3[1, ] <- d3[1, ] * 3
\vspace*{10cm}

## Character vectors
\fontsize{13}{14}\sf
\fontsize{13}{13.5}\sf

```{r}
x <- c("a", "a", "abc", "d")
Expand Down Expand Up @@ -458,10 +455,14 @@ rm(x)
* The __class__ attribute powers the S3 object system.

## Atomic vectors
\vspace*{-0.2cm}

* Four primary types of atomic vectors: logical, integer, double, and character (which contains strings).
* Collectively integer and double vectors are known as numeric vectors
* Two rare types: complex and raw.
* Two rare types:

* complex
* raw.

\vspace*{10cm}

Expand Down
2 changes: 1 addition & 1 deletion week2/slides.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: ETC4500/ETC5450 Advanced&nbsp;R&nbsp;programming
author: "Week 1: Foundations of R programming"
author: "Week 2: Foundations of R programming"
format:
beamer:
pdf-engine: pdflatex
Expand Down

0 comments on commit c759226

Please sign in to comment.