Skip to content

Commit

Permalink
fixing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
markolalovic committed Jun 6, 2024
1 parent 7c437a6 commit effa021
Show file tree
Hide file tree
Showing 21 changed files with 280 additions and 294 deletions.
8 changes: 4 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ p
</details>
<p> </p>

```{r courses_grouped_bar_chart, fig.height=3.3, out.width = "100%", echo = FALSE, fig.alt="Courses grouped bar chart"}
```{r courses_grouped_bar_chart, fig.height=3.3, out.width = "80%", echo = FALSE, fig.alt="Courses grouped bar chart"}
knitr::include_graphics("./man/figures/articles/courses_grouped_bar_chart.svg")
```

Expand Down Expand Up @@ -191,7 +191,7 @@ p
</details>
<p> </p>

```{r courses_stacked_bar_chart, fig.height=5.6, out.width = "100%", echo = FALSE, fig.alt="Courses stacked bar chart"}
```{r courses_stacked_bar_chart, fig.height=5.6, out.width = "80%", echo = FALSE, fig.alt="Courses stacked bar chart"}
knitr::include_graphics("./man/figures/articles/courses_stacked_bar_chart.svg")
```

Expand Down Expand Up @@ -270,7 +270,7 @@ new_items_F <- get_responses(n = nrow(items_F),

To compare the results, we can plot the correlation matrix with bar charts on the diagonal:

```{r agree_items_correlations_comparison, fig.height=10, out.width = "100%", echo = FALSE, fig.alt="Agreeableness items correlations comparison"}
```{r agree_items_correlations_comparison, fig.height=10, out.width = "80%", echo = FALSE, fig.alt="Agreeableness items correlations comparison"}
knitr::include_graphics("./man/figures/articles/agree_items_correlations_comparison.svg")
```

Expand Down Expand Up @@ -312,7 +312,7 @@ plot_grid(p1, p2, nrow = 2)
</details>
<p> </p>

```{r agreeableness_grouped_boxplot, fig.height=4.8, out.width = "100%", echo = FALSE, fig.alt="Agreeableness items grouped boxplot"}
```{r agreeableness_grouped_boxplot, fig.height=4.8, out.width = "80%", echo = FALSE, fig.alt="Agreeableness items grouped boxplot"}
knitr::include_graphics("./man/figures/articles/agreeableness_grouped_boxplot.svg")
```

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ p
<p>
</p>

<img src="./man/figures/articles/courses_grouped_bar_chart.svg" alt="Courses grouped bar chart" width="100%" />
<img src="./man/figures/articles/courses_grouped_bar_chart.svg" alt="Courses grouped bar chart" width="80%" />

For a pre- and post comparison, suppose that the participants completed
the survey both before and after taking the course. And suppose that
Expand Down Expand Up @@ -213,7 +213,7 @@ p
<p>
</p>

<img src="./man/figures/articles/courses_stacked_bar_chart.svg" alt="Courses stacked bar chart" width="100%" />
<img src="./man/figures/articles/courses_stacked_bar_chart.svg" alt="Courses stacked bar chart" width="80%" />

### Replicating survey data

Expand Down Expand Up @@ -475,7 +475,7 @@ new_items_F <- get_responses(n = nrow(items_F),
To compare the results, we can plot the correlation matrix with bar
charts on the diagonal:

<img src="./man/figures/articles/agree_items_correlations_comparison.svg" alt="Agreeableness items correlations comparison" width="100%" />
<img src="./man/figures/articles/agree_items_correlations_comparison.svg" alt="Agreeableness items correlations comparison" width="80%" />

The next step would be to create agreeableness scale scores for both
groups of participants, by taking the average of these 5 items and
Expand Down Expand Up @@ -520,7 +520,7 @@ plot_grid(p1, p2, nrow = 2)
<p>
</p>

<img src="./man/figures/articles/agreeableness_grouped_boxplot.svg" alt="Agreeableness items grouped boxplot" width="100%" />
<img src="./man/figures/articles/agreeableness_grouped_boxplot.svg" alt="Agreeableness items grouped boxplot" width="80%" />

## Dependency statement

Expand Down
13 changes: 8 additions & 5 deletions docs/articles/replicating_survey_data.html

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

Loading

0 comments on commit effa021

Please sign in to comment.