Skip to content

Commit

Permalink
Lisa's section and general framework
Browse files Browse the repository at this point in the history
  • Loading branch information
debruine committed Jan 10, 2024
1 parent 0734243 commit 7eab5ff
Show file tree
Hide file tree
Showing 97 changed files with 6,409 additions and 0 deletions.
Binary file added images/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/ads.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/analysis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/booktem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/code-review-guide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/coding-club.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/data-skills.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/faux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/glossary-pkg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/intro-r-pkgs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/introdataviz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/markr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/psyteachr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/quant-fun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/reprores.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/shinyintro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/stat-models.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hex/webexercises.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lisa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/psyteachr_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/resources.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/sean.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tobi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,062 changes: 1,062 additions & 0 deletions index.html

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
---
title: "PsyTeachR<br><smaller>Teaching case studies from Glasgow</smaller>"
subtitle: "[psyteachr.github.io/ews24](https://psyteachr.github.io/ews24/)"
author: "Sean Westwood, Tobias Thejll-Madsen & Lisa DeBruine"
format:
revealjs:
logo: images/hex/psyteachr.png
theme: [dark, style.scss]
transition: none
transition-speed: fast
---

```{r, include = FALSE}
knitr::opts_chunk$set(error = TRUE,
echo = TRUE,
message = FALSE,
eval = FALSE)
# remember to set eval = FALSE on code chunks that I don't want code to run
# this may make more sense than error depending if we want error message
```

# Overview

::: {.people layout-ncol=3}
![Demystifying Functions](images/sean.jpg)

![Errors<br>Help!](images/tobi.jpg)

![PsyTeachR Resources](images/lisa.jpg)
:::

# Demystifying Functions

## Example: SEM

- what mysteries stand in the way?
- scary equations
- functions as black boxes


## The `function()` Function {auto-animate=true}

- **Input**: We use the `function()` function to specify our inputs

```{r}
function(input)
```


## The `function()` Function {auto-animate=true}

- **Process**: We specify what the function does with the input inside the curly brackets

```{r}
function(input) {
# the process
}
```


## The `function()` Function {auto-animate=true}

- **Output**: We specify what the function gives us back using the `return()` function

```{r}
function(input) {
# the process
return(output)
}
```



# Errors - Help!

# PsyTeachR

![](images/psyteachr_logo.png)

## Resources

![[psyteachr.github.io](https://psyteachr.github.io/)](images/resources.png)

## Undergraduate Textbooks

::: {layout-ncol=3}
![[Level 1](https://psyteachr.github.io/data-skills/)](images/hex/data-skills.png)

![[Level 2](https://psyteachr.github.io/analysis/)](images/hex/analysis.png)

![[Level 3](https://psyteachr.github.io/stat-models/)](images/hex/stat-models.png)
:::

## Postgraduate/CPD Textbooks

::: {layout-ncol=3}
![[Conversion](https://psyteachr.github.io/quant-fun/)](images/hex/quant-fun.png)

![[MSc](https://psyteachr.github.io/reprores/)](images/hex/reprores.png)

![[Micro-credential](https://psyteachr.github.io/ads/)](images/hex/ads.png)
:::

## Workshops

::: {layout-ncol=3}
![[IntroDataViz](https://psyteachr.github.io/introdataviz/)](images/hex/introdataviz.png)

![[ShinyIntro](https://debruine.github.io/shinyintro/)](images/hex/shinyintro.png)

![[Intro to R Packages](https://psyteachr.github.io/intro-r-pkgs/)](images/hex/intro-r-pkgs.png)
:::

## R Packages

::: {layout-ncol=4}
![[<smaller>webexercises</smaller>](https://psyteachr.github.io/webexercises/)](images/hex/webexercises.png)

![[faux](https://debruine.github.io/faux/)](images/hex/faux.png)

![[markr](https://psyteachr.github.io/markr/)](images/hex/markr.png)

![[glossary](https://debruine.github.io/glossary/)](images/hex/glossary-pkg.png)
:::


# Thank You!

::: {.people layout-ncol=3}
![[Sean Westwood](https://mphiliastides.org/en/team/sean-westwood)](images/sean.jpg)

![[Tobias Thejll-Madsen](https://www.gla.ac.uk/pgrs/tobiasthejll-madsen/)](images/tobi.jpg)

![[Lisa DeBruine](https://debruine.github.io/)](images/lisa.jpg)
:::
7 changes: 7 additions & 0 deletions index_files/libs/clipboard/clipboard.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions index_files/libs/quarto-html/light-border.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions index_files/libs/quarto-html/popper.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions index_files/libs/quarto-html/quarto-html.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

189 changes: 189 additions & 0 deletions index_files/libs/quarto-html/quarto-syntax-highlighting-dark.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7eab5ff

Please sign in to comment.