Skip to content

Commit

Permalink
minor website changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Patricia Zauchner committed Sep 22, 2024
1 parent e89854c commit 21476b8
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
File renamed without changes
8 changes: 4 additions & 4 deletions docs/articles/codebook.html

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

File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
codebook: codebook.html
intro_to_gmoTree: intro_to_gmoTree.html
last_built: 2024-09-22T22:04Z
last_built: 2024-09-22T22:26Z
urls:
reference: https://zauchnerp.github.io/gmoTree/reference
article: https://zauchnerp.github.io/gmoTree/articles
Binary file added vignettes/app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions vignettes/codebook.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ The output is structured with clear headings:
- Heading Level 1: Represents each app in the oTree data.
- Heading Level 2: `Group` and `Player` variables, categorized within each app. Showing the class `Constants` is optional and can be turned off by using the argument `include_cons = FALSE`.

<img src= "headings.png" style = "border:1px solid" alt="Headings picture">
<img src= "structure.png" style = "border:1px solid" alt="Headings picture">

Below is an example showing the structure for the `cournot` app, which includes all `Constants`, `Group`, and `Player` variables. If a class contains no information, the heading will still appear, along with the message "Empty class."

<img src="cournot.png" style = "border:1px solid" alt="App rankaversion information picture">
<img src="app.png" style = "border:1px solid" alt="App rankaversion information picture">

If the default codebook design does not meet your needs, you can create your own by selecting `output = "list"`. This will return all the information in list format, which you can then use in `R Markdown` to design your own custom codebook. Below is an example of a section of the list output for the `cournot` app.

Expand Down Expand Up @@ -130,7 +130,7 @@ str(cbook, 1)

By setting the `preamb = TRUE` parameter, a predefined description of oTree data is inserted at the beginning of the codebook, explaining how experimental data is stored by oTree.

<img src= "intro.png" style = "border:1px solid" alt="Introduction to oTree data picture">
<img src= "otreedata.png" style = "border:1px solid" alt="Introduction to oTree data picture">

# Customizing how the codebook is shown

Expand All @@ -148,7 +148,7 @@ codebook(
)
```

<img src="title.png" style = "border:1px solid" alt="Title picture">
<img src="titles.png" style = "border:1px solid" alt="Title picture">

## Sorting the code

Expand Down
Binary file added vignettes/structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 21476b8

Please sign in to comment.