Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of par(mfrow) and grid.arrange #469

Open
eshab5 opened this issue Mar 25, 2020 · 3 comments
Open

Use of par(mfrow) and grid.arrange #469

eshab5 opened this issue Mar 25, 2020 · 3 comments

Comments

@eshab5
Copy link

eshab5 commented Mar 25, 2020

Hi,
I have a small suggestion for the lesson "programming with R". While reviewing the first episode "Analysis of patient data" it was great to see how learners can produce plots for three different things- namely average_day_inflammation, max_day_inflammation, and min_day_inflammation.
I feel here, we can additionally show them how it is also possible to view the three plots together in a single window instead of running each command separately.
This can be done by using the function
par(mfrow=c(1,3))
plot(avg_day_inflammation)
plot(max_day_inflammation)
plot(min_day_inflammation)

Similarly, we can also show them how to produce multiple ggplots in a single window using the function grid.arrange()

@HaoZeke
Copy link
Member

HaoZeke commented Mar 27, 2020

Hi. Thanks for the suggestion!

Would you consider it a good idea to put it in the lesson itself or have a separate lesson on graphing? The rationale behind the latter might be that over the course of a live workshop participants would want to play around with the graphing a lot more.

@eshab5
Copy link
Author

eshab5 commented Mar 27, 2020

Hi,
Yes, I think the latter sounds good (having as a separate chapter altogether).

@HaoZeke
Copy link
Member

HaoZeke commented Mar 29, 2020

Thanks, @eshab5. I will bring it up with the course development team. Perhaps @diyadas might chime in here as well.

fmichonneau pushed a commit that referenced this issue Oct 15, 2020
```
cd assets/js
wget https://code.jquery.com/jquery-3.5.1.min.js
wget https://code.jquery.com/jquery-3.5.1.min.map
mv -f jquery-3.5.1.min.js jquery.min.js
mv -f jquery-3.5.1.min.map jquery.min.map
```

Fixes carpentries/styles#460
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants