├── .gitignore
├── LICENCE.md
├── README.md
├── data
└── journals.csv
├── image
└── google_scholar.png
├── libs
├── header-attrs-2.11
│ └── header-attrs.js
├── header-attrs
│ └── header-attrs.js
├── remark-css-0.0.1
│ ├── default-fonts.css
│ └── default.css
└── remark-css
│ ├── default-fonts.css
│ └── default.css
├── manuscript
├── apa_7th.csl
├── journals.Rmd
├── references.bib
├── reproduce_this.pdf
└── solutions.Rmd
├── presentation
├── libs
│ ├── anchor-sections
│ │ ├── anchor-sections.css
│ │ └── anchor-sections.js
│ ├── countdown
│ │ ├── countdown.css
│ │ ├── countdown.js
│ │ └── smb_stage_clear.mp3
│ ├── header-attrs
│ │ └── header-attrs.js
│ └── remark-css
│ │ ├── default-fonts.css
│ │ └── default.css
├── rmd_workshop.Rmd
├── rmd_workshop.html
├── rmd_workshop.pdf
└── rmd_workshop_files
│ ├── bibliography
│ ├── manuals.bib
│ ├── packages.bib
│ └── presentation.bib
│ ├── figure-html
│ ├── unnamed-chunk-66-1.png
│ ├── unnamed-chunk-67-1.png
│ ├── unnamed-chunk-68-1.png
│ ├── unnamed-chunk-69-1.png
│ ├── unnamed-chunk-70-1.png
│ ├── unnamed-chunk-71-1.png
│ ├── unnamed-chunk-72-1.png
│ ├── unnamed-chunk-73-1.png
│ ├── unnamed-chunk-74-1.png
│ ├── unnamed-chunk-75-1.png
│ ├── unnamed-chunk-76-1.png
│ └── unnamed-chunk-77-1.png
│ └── images_data
│ ├── bib.PNG
│ ├── bib1.PNG
│ ├── button_chunk_options.PNG
│ ├── button_document_outline.PNG
│ ├── button_format_options.PNG
│ ├── button_knit.PNG
│ ├── button_knit_on_save.PNG
│ ├── button_run_chunk.PNG
│ ├── button_visual_editor.PNG
│ ├── chunk.PNG
│ ├── csl.PNG
│ ├── first_rmd.PNG
│ ├── google_scholar.png
│ ├── journals.csv
│ ├── mock_yaml.png
│ ├── text.PNG
│ ├── toolbar.PNG
│ ├── window_global_options.PNG
│ ├── window_project_options.PNG
│ ├── yaml.PNG
│ ├── yaml2.PNG
│ ├── yaml3.PNG
│ ├── yaml4.PNG
│ ├── yaml5.PNG
│ ├── yaml6.PNG
│ ├── yaml_extra.PNG
│ ├── yaml_html.PNG
│ ├── yaml_latex.PNG
│ ├── yaml_pdf.PNG
│ └── yaml_word.PNG
└── test
├── run_this.R
└── the_test.Rmd
/.gitignore:
--------------------------------------------------------------------------------
1 | .Rproj.user
2 | .Rhistory
3 | .RData
4 | .Ruserdata
5 |
6 | *.Rproj
7 | *.docx
8 | rmd_demo/
9 |
10 |
--------------------------------------------------------------------------------
/LICENCE.md:
--------------------------------------------------------------------------------
1 | # Attribution-Share Alike 3.0 Unported Licence
2 |
3 | THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENCE ("CCPL" OR "LICENCE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENCE OR COPYRIGHT LAW IS PROHIBITED.
4 |
5 | BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENCE. TO THE EXTENT THIS LICENCE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
6 |
7 | 1. Definitions
8 |
9 | a. **"Adaptation"** means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this Licence. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this Licence.
10 |
11 | b. **"Collection"** means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this Licence.
12 |
13 | c. **"Creative Commons Compatible Licence"** means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this Licence, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the Licence Elements of this Licence; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this Licence or a Creative Commons jurisdiction license with the same Licence Elements as this Licence.
14 |
15 | d. **"Distribute"** means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
16 |
17 | e. **"Licence Elements"** means the following high-level license attributes as selected by Licensor and indicated in the title of this Licence: Attribution, ShareAlike.
18 |
19 | f. **"Licensor"** means the individual, individuals, entity or entities that offer(s) the Work under the terms of this Licence.
20 |
21 | g. **"Original Author"** means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
22 |
23 | h. **"Work"** means the literary and/or artistic work offered under the terms of this Licence including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
24 |
25 | i. **"You"** means an individual or entity exercising rights under this Licence who has not previously violated the terms of this Licence with respect to the Work, or who has received express permission from the Licensor to exercise rights under this Licence despite a previous violation.
26 |
27 | j. **"Publicly Perform"** means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
28 |
29 | k. **"Reproduce"** means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
30 |
31 | 2. Fair Dealing Rights
32 |
33 | Nothing in this Licence is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
34 |
35 | 3. Licence Grant
36 |
37 | Subject to the terms and conditions of this Licence, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
38 |
39 | a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
40 |
41 | b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
42 |
43 | c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
44 |
45 | d. to Distribute and Publicly Perform Adaptations.
46 |
47 | e. For the avoidance of doubt:
48 |
49 | i. **Non-waivable Compulsory Licence Schemes**. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this Licence;
50 |
51 | ii. **Waivable Compulsory Licence Schemes**. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this Licence; and,
52 |
53 | iii. **Voluntary Licence Schemes**. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this Licence.
54 |
55 | The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
56 |
57 | 4. Restrictions
58 |
59 | The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
60 |
61 | a. You may Distribute or Publicly Perform the Work only under the terms of this Licence. You must include a copy of, or the Uniform Resource Identifier (URI) for, this Licence with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this Licence or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the Licence. You may not sublicense the Work. You must keep intact all notices that refer to this Licence and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the Licence. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this Licence. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested.
62 |
63 | b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this Licence; (ii) a later version of this Licence with the same Licence Elements as this Licence; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same Licence Elements as this Licence (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible Licence. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable Licence"), you must comply with the terms of the Applicable Licence generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable Licence with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable Licence or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable Licence; (III) You must keep intact all notices that refer to the Applicable Licence and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable Licence. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable Licence.
64 |
65 | c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this Licence, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
66 |
67 | d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this Licence (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this Licence (right to make Adaptations) but not otherwise.
68 |
69 | 5. Representations, Warranties and Disclaimer
70 |
71 | UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
72 |
73 | 6. Limitation on Liability
74 |
75 | EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENCE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
76 |
77 | 7. Termination
78 |
79 | a. This Licence and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this Licence. Individuals or entities who have received Adaptations or Collections from You under this Licence, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this Licence.
80 |
81 | b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this Licence (or any other license that has been, or is required to be, granted under the terms of this Licence), and this Licence will continue in full force and effect unless terminated as stated above.
82 |
83 | 8. Miscellaneous
84 |
85 | a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this Licence.
86 |
87 | b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this Licence.
88 |
89 | c. If any provision of this Licence is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Licence, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
90 |
91 | d. No term or provision of this Licence shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
92 |
93 | e. This Licence constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This Licence may not be modified without the mutual written agreement of the Licensor and You.
94 |
95 | f. The rights granted under, and the subject matter referenced, in this Licence were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the Licence terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this Licence, such additional rights are deemed to be included in the Licence; this Licence is not intended to restrict the license of any rights under applicable law.
96 |
97 | >**SIDEBAR**
98 | >Creative Commons Notice
99 | >
100 | >Creative Commons is not a party to this Licence, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
101 | >
102 | >Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of the Licence.
103 | >
104 | >Creative Commons may be contacted at http://creativecommons.org/.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Writing Reproducible Research Papers with R Markdown
2 |
3 | This repository holds the materials for a workshop on writing reproducible research papers with R Markdown, first taught at [Campus Luzern](https://www.campus-luzern.ch/) in March 2020.
4 |
5 | Unless otherwise noted, all material is copyright Resul Umit, licensed [CC-BY-SA 3.0](https://github.com/resulumit/rmd_workshop/blob/master/LICENCE.md). An easy to read summary of this permissive licence is available on the [Creative Commons website](https://creativecommons.org/licenses/by-sa/3.0/).
6 |
7 | ## Contents
8 |
9 | The workshop is divided into ten parts. Most parts include exercises — 40+ in total.
10 |
11 |
12 | |[]() | |
13 | |------|------|
14 | | **Part 1. Getting the Tools Ready**
- e.g., downloading course material | **Part 6. Adding Code, Figures, and Tables**
- e.g., plotting data |
15 | | **Part 2. Introducing R Markdown**
- e.g., creating a new document | **Part 7. Addressing Functionality Gaps**
- e.g., adjusting line spacing |
16 | | **Part 3. Setting Metadata**
- e.g., defining output format | **Part 8. Using Version Control**
- e.g., integrating Git and GitHub |
17 | | **Part 4. Writing Text**
- e.g., adding emphasis to text | **Part 9. Collaborating with Others**
- e.g., working simultaneously with co-authors |
18 | | **Part 5. Managing References**
- e.g., citing sources | **Part 10. Working on a Real Project**
- e.g., converting a work-in-progress of yours |
19 |
20 | ## Slides
21 |
22 | The slides for the workshop are available to view at . These HTML slides are created with `xaringan` package (Xie, 2020).
23 |
24 | See the `presentation` directory for the source files underlying the slides. The same directory also includes the [PDF version of the slides](https://github.com/resulumit/rmd_workshop/blob/master/presentation/rmd_workshop.pdf), which might come handly if the HTML version is too large for your browser to function --- as it is for some Safari users.
25 |
26 | ## Materials
27 |
28 | The remaining materials are available in a separate branch of this repository, called [materials](https://github.com/resulumit/rmd_workshop/tree/materials). It includes the following:
29 |
30 | - `manuscript\reproduce_this.pdf`
31 | - a document, formatted in Word but saved as PDF, to be re-created with R Markdown
32 | - random sentences in the document are generated with the `stringi` package (Gagolewski, 2020)
33 | - figures and tables are based on a fabricated dataset (`journals.csv`, see below)
34 | - key sections in-need of attention are highlighted
35 |
36 | - `manuscript\journals.Rmd`
37 | - an R Markdown document to work on during the workshop
38 | - includes unformatted text from `reproduce_this.pdf` to save time
39 | - major components, such as paragraphs and tables, are numbered and marked in comments to facilitate navigation
40 |
41 | - `manuscript\solutions.Rmd`
42 | - an R Markdown file with all exercises are completed
43 | - this is how participants' `journals.Rmd` file should look at the end of the workshop
44 |
45 | - `manuscript\references.bib`
46 | - a BibTeX document with three fabricated references
47 |
48 | - `manuscript\apa_7th.csl`
49 | - a Citation Style Language document, with APA (7th Edition) referencing style (Wiernik, 2020)
50 |
51 | - `data\journals.csv`
52 |
53 | - a dataset created with the `fabricatr` package (Blair et al., 2019), imagined to explore the Google Scholar rankings of fictitious journals
54 |
55 | - includes the following variables
56 | - **name**: journals (1090 random titles)
57 | - **origin**: geographic origins (five continents)
58 | - **branch**: major discipline of journals (four branches)
59 | - **since**: time of first publication (years)
60 | - **h5_index**: H5 Index (integers)
61 | - **h5_median**: H5 Median (integers)
62 | - **english**: English (1) *vs.* other-language (0) journals
63 | - **subfield**: subfield (1) *vs.* generalist (0) journals
64 | - **issues**: number of issues published per year (integers)
65 |
66 | - `image\google_scholar.png`
67 | - a screeenshot image of the Google Scholar homapage, copyright Google, LLC
68 |
69 |
70 | ## References
71 |
72 | Blair, G., Cooper, J., Coppock, A., Humphreys, M., Rudkin, A. and Fultz, N. (2019). [fabricatr: Imagine your data before you collect it](https://cran.r-project.org/web/packages/fabricatr/index.html). R package, version 0.10.0.
73 |
74 | Gagolewski, M. (2020). [stringi: Character String Processing Facilities](https://cran.r-project.org/web/packages/stringi/index.html). R package, version 1.4.6.
75 |
76 | Wiernik, B. M. (2020). [American Psychological Association 7th edition (no ampersand)](https://www.zotero.org/styles/apa-no-ampersand). Citation style language file, version 1.0.
77 |
78 | Xie, Y. (2020). [xaringan: Presentation Ninja](https://cran.r-project.org/web/packages/xaringan/index.html). R package, version 0.18.
79 |
--------------------------------------------------------------------------------
/data/journals.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/data/journals.csv
--------------------------------------------------------------------------------
/image/google_scholar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/image/google_scholar.png
--------------------------------------------------------------------------------
/libs/header-attrs-2.11/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/libs/header-attrs/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/libs/remark-css-0.0.1/default-fonts.css:
--------------------------------------------------------------------------------
1 | @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
2 | @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
3 | @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700);
4 |
5 | body { font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif; }
6 | h1, h2, h3 {
7 | font-family: 'Yanone Kaffeesatz';
8 | font-weight: normal;
9 | }
10 | .remark-code, .remark-inline-code { font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace; }
11 |
--------------------------------------------------------------------------------
/libs/remark-css-0.0.1/default.css:
--------------------------------------------------------------------------------
1 | a, a > code {
2 | color: rgb(249, 38, 114);
3 | text-decoration: none;
4 | }
5 | .footnote {
6 | position: absolute;
7 | bottom: 3em;
8 | padding-right: 4em;
9 | font-size: 90%;
10 | }
11 | .remark-code-line-highlighted { background-color: #ffff88; }
12 |
13 | .inverse {
14 | background-color: #272822;
15 | color: #d6d6d6;
16 | text-shadow: 0 0 20px #333;
17 | }
18 | .inverse h1, .inverse h2, .inverse h3 {
19 | color: #f3f3f3;
20 | }
21 | /* Two-column layout */
22 | .left-column {
23 | color: #777;
24 | width: 20%;
25 | height: 92%;
26 | float: left;
27 | }
28 | .left-column h2:last-of-type, .left-column h3:last-child {
29 | color: #000;
30 | }
31 | .right-column {
32 | width: 75%;
33 | float: right;
34 | padding-top: 1em;
35 | }
36 | .pull-left {
37 | float: left;
38 | width: 47%;
39 | }
40 | .pull-right {
41 | float: right;
42 | width: 47%;
43 | }
44 | .pull-right + * {
45 | clear: both;
46 | }
47 | img, video, iframe {
48 | max-width: 100%;
49 | }
50 | blockquote {
51 | border-left: solid 5px lightgray;
52 | padding-left: 1em;
53 | }
54 | .remark-slide table {
55 | margin: auto;
56 | border-top: 1px solid #666;
57 | border-bottom: 1px solid #666;
58 | }
59 | .remark-slide table thead th { border-bottom: 1px solid #ddd; }
60 | th, td { padding: 5px; }
61 | .remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) { background: #eee }
62 |
63 | @page { margin: 0; }
64 | @media print {
65 | .remark-slide-scaler {
66 | width: 100% !important;
67 | height: 100% !important;
68 | transform: scale(1) !important;
69 | top: 0 !important;
70 | left: 0 !important;
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/libs/remark-css/default-fonts.css:
--------------------------------------------------------------------------------
1 | @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
2 | @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
3 | @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700);
4 |
5 | body { font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif; }
6 | h1, h2, h3 {
7 | font-family: 'Yanone Kaffeesatz';
8 | font-weight: normal;
9 | }
10 | .remark-code, .remark-inline-code { font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace; }
11 |
--------------------------------------------------------------------------------
/libs/remark-css/default.css:
--------------------------------------------------------------------------------
1 | a, a > code {
2 | color: rgb(249, 38, 114);
3 | text-decoration: none;
4 | }
5 | .footnote {
6 | position: absolute;
7 | bottom: 3em;
8 | padding-right: 4em;
9 | font-size: 90%;
10 | }
11 | .remark-code-line-highlighted { background-color: #ffff88; }
12 |
13 | .inverse {
14 | background-color: #272822;
15 | color: #d6d6d6;
16 | text-shadow: 0 0 20px #333;
17 | }
18 | .inverse h1, .inverse h2, .inverse h3 {
19 | color: #f3f3f3;
20 | }
21 | /* Two-column layout */
22 | .left-column {
23 | color: #777;
24 | width: 20%;
25 | height: 92%;
26 | float: left;
27 | }
28 | .left-column h2:last-of-type, .left-column h3:last-child {
29 | color: #000;
30 | }
31 | .right-column {
32 | width: 75%;
33 | float: right;
34 | padding-top: 1em;
35 | }
36 | .pull-left {
37 | float: left;
38 | width: 47%;
39 | }
40 | .pull-right {
41 | float: right;
42 | width: 47%;
43 | }
44 | .pull-right + * {
45 | clear: both;
46 | }
47 | img, video, iframe {
48 | max-width: 100%;
49 | }
50 | blockquote {
51 | border-left: solid 5px lightgray;
52 | padding-left: 1em;
53 | }
54 | .remark-slide table {
55 | margin: auto;
56 | border-top: 1px solid #666;
57 | border-bottom: 1px solid #666;
58 | }
59 | .remark-slide table thead th { border-bottom: 1px solid #ddd; }
60 | th, td { padding: 5px; }
61 | .remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) { background: #eee }
62 |
63 | @page { margin: 0; }
64 | @media print {
65 | .remark-slide-scaler {
66 | width: 100% !important;
67 | height: 100% !important;
68 | transform: scale(1) !important;
69 | top: 0 !important;
70 | left: 0 !important;
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/manuscript/apa_7th.csl:
--------------------------------------------------------------------------------
1 |
2 |
1719 |
--------------------------------------------------------------------------------
/manuscript/journals.Rmd:
--------------------------------------------------------------------------------
1 |
2 | Journals: Random Words With Random Data
3 | A Mock Paper for an R Markdown Workshop
4 | Jane Doe
5 | 4 March 2020
6 | Preliminary draft. Please do not cite or circulate without permission from the author.
7 | Department of Science, University of Random. Email: jane.doe@random.edu. Website: www.janedoe.com.
8 |
9 |
10 | Abstract
11 |
12 |
13 | Laoreet est, at turpis, et et sodales in volutpat arcu magna massa. At, rutrum felis fringilla. Turpis aliquam ante dictum, viverra. Aliquam velit auctor efficitur nascetur diam. Quis eu donec. Auctor curabitur ut. Elementum est sed et. Curae cras ac nibh. Habitant ante, dolor pharetra egestas montes ornare ut iaculis?Odio lectus quisque dapibus turpis sit, cursus in interdum in, magna sapien.Ac eget mattis, in suspendisse tempus lacinia, sed ullamcorper. Scelerisque nunc ut iaculis porta turpis bibendum pretium. Accumsan vestibulum lorem, vestibulum consequat urna eu, cum finibus nulla semper suscipit vulputate. Urna facilisis volutpat metus ut sociis vitae in lorem nibh. Ipsum vel, maximus maecenas in a. Aptent congue, rutrum nisl ridiculus at. Lectus ac tincidunt eu at netus ut, ipsum lacinia a aliquam sapien. Vel egestas purus nibh consequat orci. Dui, eu, nisi sociis enim mi et sodales purus. Quam maecenas ligula elementum neque. Sociis curae viverra lorem vitae in natoque ut.
14 |
15 |
16 | Lorem ipsum dolor sit amet, eros nibh eget mollis.
17 | - Tincidunt Cubilia
18 |
19 |
20 | Introduction
21 |
22 |
23 | Vestibulum, sociis ipsum. Massa, sed ac eu fringilla sed luctus sodales, sit porttitor non. Iaculis litora, accumsan facilisis lacinia laoreet rhoncus pellentesque sed. At, viverra enim proin quis neque efficitur. Quam sit est sed at ut aliquam. Condimentum efficitur ultricies tincidunt dui porta faucibus feugiat nec montes. Tincidunt congue quisque libero parturient gravida molestie et. Dolor felis sed, neque tempus tincidunt dapibus vestibulum in vehicula. Ac mollis mus scelerisque per gravida. Fusce curabitur in venenatis suscipit fames mi magna magna. Cubilia suspendisse dolor eu eget congue enim in sed. In nullam etiam cum iaculis maecenas nulla ac. Sem adipiscing sed sed dolor mollis magnis mauris platea velit natoque consequat in cubilia.
24 |
25 |
26 | Eu sodales phasellus nullam ornare, est ligula.1 Suspendisse facilisi habitasse eget tristique at et pellentesque sed. Amet, luctus ex faucibus dapibus enim ac mauris. Commodo nec nisl vel massa justo condimentum blandit lobortis. Lectus suspendisse tempus at nec fusce facilisis tempor. Feugiat maecenas turpis amet non ultricies, inceptos lacinia. Justo fames cum tortor blandit, aliquet ac semper. Malesuada risus nulla id ultrices, enim orci, eu et, faucibus ornare nec justo. Sit pharetra justo habitant sociosqu augue, turpis ut ut integer.2
27 |
28 |
29 | In nunc eu libero arcu posuere varius. Donec nascetur sagittis volutpat et quis quis lectus. Id et cursus ridiculus, sed, hendrerit nisi mauris per! Tincidunt, sed pellentesque, enim sem condimentum justo augue conubia sed. Convallis scelerisque ultricies sed nunc bibendum. Quisque, feugiat sed nisl. Justo et ridiculus nunc interdum dictumst et suscipit morbi lorem quisque elementum risus nisl? Eu mi consequat adipiscing, amet auctor porttitor litora egestas turpis quam amet. Nunc et torquent, enim, ut sed auctor.
30 |
31 |
32 | Non at cubilia ut at nisi.
33 |
34 |
35 | Literature Review, dolor eget orci integer gravida. Efficitur et augue facilisis turpis, neque pharetra venenatis ut. Tempus ut sapien dui habitasse ac enim sit elit amet. Ut consequat consectetur ut, donec amet sed. Vel, ut senectus vestibulum donec vitae. Duis euismod, ultrices quis proin tristique ac felis morbi. Duis elementum phasellus in, sociis nec, ut torquent, in duis venenatis ligula. Tristique morbi dictum suspendisse pellentesque vehicula aliquet. Tincidunt ac nunc fames. Faucibus ultrices ut ut nisl quam nibh ligula sollicitudin. Ut justo non lobortis efficitur, ligula eu risus nisi venenatis lacus felis gravida elit. Results neque lorem rhoncus nec, facilisis class lectus.
36 |
37 |
38 | Varius R2 natoque dolor nisl donec nostra id dictum turpis. Nisi dignissim sed nec nam mi porttitor quam sit. Iaculis magna vel nullam in commodo ante nunc habitant. Luctus ex sapien ac molestie, vel amet et ac. Molestie velit in commodo, leo ridiculus mauris nunc, in in. Consectetur eu a. Dictumst consequat erat amet non ut tristique maecenas. Et congue. Faucibus convallis felis metus aptent curae. Sed est eros, nostra eget nam ut nam. Gravida ex mi nec ut ultrices ut nisl turpis amet felis.Finibus luctus molestie donec laoreet, ante curae eleifend commodo. Tempus efficitur enim turpis sociis. Habitant mollis. In nulla, curae condimentum erat penatibus dapibus leo orci enim. Rhoncus egestas laoreet eros turpis. Pretium finibus iaculis praesent, viverra sed suscipit ut in. Morbi fusce faucibus phasellus nullam massa. Lobortis nulla, in, vel CO2.
39 |
40 |
41 | Nisl sed ridiculusn 12-13, ut habitant vitae tempus diam, viverra sociis. Nostra metus amet arcu dui ac vehicula maecenas, augue vulputate. Netus, convallis et cum ultrices, consequat ac etiam. Eget sed viverra mauris pellentesque nibh! Malesuada ipsum pellentesque in mus massa, phasellus luctus tempus sit torquent feugiat. Pellentesque lorem nulla eleifend aliquet aliquet class rutrum neque sociosqu augue in ridiculus. Ut massa malesuada et in fusce dolor faucibus. Massa vestibulum consectetur nam nam. Sit porttitor nunc ante curabitur mattis justo. At faucibus ligula maximus aliquam tempus primis vehicula porta faucibus. Lectus rutrum maximus penatibus. Est velit integer libero pellentesque et dolor netus sed. Dignissim tincidunt, dignissim cum. Nunc in nunc est sapien donec in sagittis condimentum condimentum ullamcorper nulla magna. Sed ad cum sed varius enim adipiscing mollis torquent, vitae, ut tempus. Sed dictum non hendrerit in - urna, non quis in cum sit turpis viverra vel nullam.
42 |
43 |
44 | Literature Review
45 |
46 |
47 | Sit nunc auctor at id diam . Tempus platea eu. Scelerisque facilisis rhoncus eu lacus vivamus ac, ut. Orci nec metus nullam sed et quis. Magnis in vitae, feugiat eleifend dignissim vitae. Leo hac sed suscipit quis rhoncus nunc tincidunt. Mi nibh lectus faucibus tellus diam sed, convallis. Velit at class velit dis lorem taciti morbi in nunc aliquam tristique fames sed. Eu lectus gravida congue augue id semper magna libero .
48 |
49 |
50 | sed et natoque, donec pulvinar sollicitudin quisque vivamus. Tortor, lacus morbi at dui aenean amet laoreet elit. Viverra magna litora magna, sapien. Donec mi class in integer. Nulla vel ullamcorper tristique dis et, sociosqu vel. Pellentesque at mauris pellentesque volutpat non purus aenean quam. Congue interdum, id amet class libero, ac velit neque. Vitae odio nisl in et, proin, sed sit. Est fames mus pellentesque sagittis velit .
51 |
52 |
53 | ‘mus auctor’ ipsum. Himenaeos metus in fames aliquam. Erat et eget ut ipsum augue tincidunt elit venenatis. Dapibus in malesuada, tincidunt rhoncus nostra. Orci in, vestibulum. Ullamcorper sem conubia in. Molestie eu taciti non consequat. Et eu enim montes class leo varius parturient ridiculus nec. Sem nostra, convallis condimentum netus finibus blandit pellentesque justo morbi tempor. Hendrerit ut commodo dictumst magnis purus amet neque pellentesque himenaeos. Pharetra et odio aptent velit. Faucibus tristique maecenas dis maximus in dapibus. Et felis justo orci sit eu est tincidunt facilisis convallis. Cubilia nisl enim amet sociis sed platea habitasse pellentesque. Sodales non suscipit, eros consectetur. Vel suspendisse purus congue sed sed ut et. Ultrices ut sem. Urna volutpat vivamus velit, consectetur molestie turpis in .
54 |
55 |
56 | Elit platea faucibus massa diam quis vel. Lorem id sit pretium erat convallis vel sed quam. Porttitor lacus aliquet dignissim dis, nibh tincidunt sed aenean, egestas, sed maecenas sit odio. Lobortis fames mauris ac nulla blandit cras mollis. Tempus, placerat metus conubia leo egestas. Nunc euismod torquent cursus volutpat natoque. Fermentum taciti tempus ante lorem sem. Sit in rhoncus cras ante in et cras vestibulum quam nam. Et sed odio. Nisl ut finibus purus malesuada in turpis natoque in. In sed duis at finibus, sed nibh nunc. Aliquam nisl amet magnis curae at in. Ac, vehicula maecenas pretium nibh lacinia nisi odio sit. Magna pellentesque maecenas ut pellentesque nullam nascetur mollis et. Ligula nibh etiam elit lacus mauris vel sagittis lacinia. Ut tincidunt lorem leo sodales ac enim id. Facilisi ridiculus turpis diam a montes eros. Erat urna ante vel nunc eu eros quis conubia massa, a sed, at non.
57 |
58 |
59 | Arcu platea velit non malesuada ac magna.
60 | Neque convallis egestas vehicula, nascetur dapibus auctor.
61 | Suspendisse semper erat magnis.
62 | In fermentum felis et, tincidunt ridiculus est accumsan velit non.
63 |
64 |
65 | Tellus sapien, eu orci ac, leo senectus in luctus elementum. Tempus, gravida at erat litora cubilia, eget suspendisse donec. Eu aptent magnis id odio ut. Aliquam tempus tincidunt sed ligula nec turpis ipsum massa vitae sollicitudin mi. Conubia sed malesuada interdum tempus. Vestibulum lorem dis, feugiat quam facilisis. Ac, habitant dictum adipiscing ut, metus ante nibh imperdiet non dapibus. Vitae sapien eu pulvinar cursus ac. Sed sapien et a ipsum sed enim eget. Tempor eu mattis, fringilla id eros ut Table 1.
66 |
67 |
68 | Existing publications in journals.
69 | Author Year Design Journal
70 | Benett 2015 Experimental Journal of Bone
71 | Delgado & Perry 2010 Descriptive Journal of Route
72 | Gilbert 2019 Predictive Journal of Ground
73 |
74 |
75 | Natoque donec lacinia scelerisque nisl est ut laoreet cras. Quisque nulla eu viverra purus lorem a. In praesent, augue finibus velit, nascetur integer? Aenean libero dictumst arcu aliquet at cum maximus, ornare, non fermentum viverra. Ac et class id massa fusce nascetur purus lacus. Sed nec tincidunt aptent eros netus praesent ligula sociis. Dui fermentum sed at tortor adipiscing. Urna hac vel eu ipsum mattis et sem praesent porta maecenas. Nulla nunc rutrum primis mollis ac nam, sed sed nulla. Ligula sed hac in curabitur, justo nec, aliquet habitant. Aenean mollis egestas ut lectus elit nibh nec, pellentesque nunc. Interdum auctor. Sem senectus nec sed in, sagittis pharetra in augue, ut. Pharetra ut, arcu donec curabitur duis ut maecenas at. Imperdiet aliquet aptent maximus posuere condimentum feugiat, vitae maximus volutpat. Condimentum, nibh aenean et tincidunt. Vestibulum tempor purus mattis sit sit vel? Metus, hendrerit laoreet, elit egestas phasellus sed quam iaculis tristique. Aliquam consectetur ornare vestibulum quam at integer. Curae et, cum ut placerat ut. Quisque sagittis gravida consequat mattis vitae, rhoncus egestas iaculis in montes.
76 |
77 |
78 | Theory and Hypotheses
79 |
80 |
81 | Non, posuere posuere egestas. Vel, risus imperdiet ac ipsum. Amet, vel ultricies ut finibus parturient egestas. Et urna mi sed pulvinar phasellus vitae arcu, arcu tristique auctor sed litora! Congue eu eu non vel mus egestas varius accumsan ante et. Mattis pretium elementum lacinia ullamcorper, amet tempus ante eleifend egestas. Primis purus sit a arcu in non, amet rutrum. Ipsum iaculis aliquet dignissim amet felis augue ut. Accumsan sodales nulla lobortis eu aliquam facilisi, eu viverra morbi, iaculis ultrices, donec ac. Laoreet fringilla sit ut venenatis commodo aliquam pharetra. Molestie mus ante, in amet metus quam.
82 |
83 |
84 | First Hypothesis
85 |
86 |
87 | Quis elit in tristique, hendrerit blandit nec risus purus. Dapibus montes finibus amet, eu sit sit. Eu elementum euismod lacinia ipsum per natoque ipsum. Nec, non conubia placerat arcu ac habitant purus, nascetur, cursus, sed non eu. Consequat eu in bibendum platea scelerisque mollis. Amet nulla, dui. Cum luctus auctor, justo sapien a sollicitudin in eu. Ipsum nam proin eu maximus dui egestas diam vehicula leo, porta? Sit dictum mus turpis consequat magna. Sed hac netus ac. Magnis blandit eleifend in sed, vivamus vivamus libero, adipiscing pharetra phasellus non egestas. Dui porttitor, rhoncus, ac a aptent rhoncus augue a? Ac leo sed, erat dui a. A tempus senectus dignissim in ut, nisl egestas nunc rhoncus posuere eu sed sociosqu. Ut lacus a, mauris sed. Vivamus enim nulla per nisl. Sodales quam.
88 |
89 |
90 | H1: Suspendisse suspendisse nisi tellus sagittis mus vel lectus tempor.
91 |
92 |
93 | Ut at vitae sodales justo. Placerat in natoque sit convallis ligula primis, ipsum urna convallis. Sed elit magna, orci natoque porta, dis nostra commodo et lobortis massa sed. Nulla nunc sed et nec malesuada nunc tellus auctor conubia a vel. Maximus nibh commodo vel, non libero interdum feugiat porta aliquam dictumst facilisis? Vel eu felis metus, sed dictumst nibh. Suscipit lectus proin augue nulla tempor sed. Nisi ornare sed proin. Nullam non nisi metus mattis non tincidunt congue ac aliquam morbi. Tempor suspendisse porta, et tincidunt, quam phasellus a erat vel. Vitae libero, per curabitur lorem nulla tristique vestibulum tempor blandit.
94 |
95 |
96 | Second Hypothesis
97 |
98 |
99 | Ipsum imperdiet et pellentesque suspendisse. Nostra condimentum turpis varius. Condimentum luctus ante, porttitor, laoreet a nostra, tempus habitasse. Integer sed. Interdum duis diam integer ut mauris et turpis purus. Sed sit vitae. Et diam lacus velit fusce urna. Ut nunc, ligula eu curae fringilla tincidunt nullam. Condimentum auctor vitae eleifend nibh pharetra conubia in sed lacus ut et nascetur velit, risus nunc. A netus. Sed justo. Eu eros non sit auctor diam. In vestibulum eros mus.
100 |
101 |
102 | H2: Conubia, vivamus nec mauris risus nec commodo.
103 |
104 |
105 | Nisi velit sem, sollicitudin nam ut, ac vitae et sed sed lobortis sapien. Amet, blandit bibendum accumsan, a nulla sed aptent eu, semper. Non nisl at aliquam vitae per ut lorem congue eros, elit nascetur mauris. Pharetra fusce congue felis primis, iaculis consectetur amet bibendum. Condimentum libero metus faucibus tincidunt ut mi ullamcorper phasellus. Odio sed, integer sagittis non eu malesuada eu. Sit lectus sed class sagittis dictumst, class faucibus ex. Ac velit quam himenaeos mollis elit.
106 |
107 |
108 | Nulla et penatibus velit a eu, ultricies donec mi. Nec finibus, justo et eu, non. Velit risus pulvinar commodo tortor aptent in risus ac, magnis ex sit. Pharetra, aenean maximus, ut viverra efficitur nulla. Tincidunt non erat feugiat iaculis nullam tincidunt mauris. Neque lacinia lacus suspendisse fringilla eu pharetra nisi libero at accumsan. Mauris nulla a nam. Ac elit congue suspendisse magna dictumst, interdum ut ex. Ullamcorper in ut lacus cum maximus magnis facilisis rhoncus lacus suscipit. Nunc himenaeos arcu a. Sed metus eget sed lacinia in parturient arcu molestie laoreet.
109 |
110 |
111 | Eget luctus interdum metus aliquet fames nisi varius hendrerit sit donec. Interdum diam ac sed purus mi. A augue aliquet natoque odio sagittis tincidunt a maecenas. Netus proin tempor aptent maecenas, congue. A sit, leo mi litora vel interdum, ligula tempor nullam mauris sed. Ligula vivamus hac lacinia donec sodales vestibulum, class. Amet penatibus, porttitor, auctor. Nec, justo turpis nisl ligula. In scelerisque aenean eros rhoncus nulla, tincidunt a. Congue in non faucibus congue magnis nunc sed. Lacinia, felis nisi mauris quisque sed bibendum cum vestibulum risus. Nulla eleifend quam maximus himenaeos arcu, malesuada, cubilia erat. Non nec auctor, hendrerit tincidunt duis sed convallis non, consequat. Ridiculus rutrum morbi, vestibulum Figure 1.
112 |
113 |
114 | A screenshot of the Google Scholar homepage.
115 |
116 |
117 | Magna porta proin duis in porta ante. Cubilia enim, maecenas risus vestibulum gravida sit nibh. Aenean luctus ut nunc dui taciti sed quis nulla. Vitae, nulla tellus porttitor semper. Habitant, sed habitant. In mi sed lacinia felis lobortis vel id. Etiam justo ullamcorper id. Nullam blandit fringilla sed. Conubia purus nec fermentum sed vel nulla sit sollicitudin nulla lacus. Arcu sed, eros senectus vitae varius mauris dictumst in. Tristique ut urna et ut amet dis risus? Platea ligula bibendum duis porttitor ut orci hac senectus. Nec sed ex, nisi non sagittis auctor ac phasellus mi in sed. Nostra sapien et aliquam luctus proin nec turpis tortor inceptos. Id in rutrum dictumst mattis congue dolor, vitae, pharetra non et. Sem urna natoque ex lorem et, duis commodo ut nullam. Eros ornare ridiculus felis eleifend ullamcorper sed ut, lorem, cursus. Etiam eros quis tristique tincidunt vel ante facilisis, eget. Gravida quis senectus molestie sed est, eu. Dignissim venenatis egestas sed, diam mauris vestibulum turpis. Eu dictumst nullam sapien at per sed eget vitae. Sed justo eros ut vitae etiam elit suscipit. Habitant enim pharetra in, augue lectus sed tortor at?
118 |
119 |
120 | Data and Methods
121 |
122 |
123 | There are 1091 observations in the dataset. Egestas nullam, et mauris inceptos sed scelerisque. Sollicitudin scelerisque in enim sapien pellentesque hendrerit eget cum, tellus. Nam leo volutpat faucibus tempor tortor. Arcu donec vehicula aliquam. Justo ipsum, venenatis ac non. Lorem mus mi vel cum gravida tincidunt. Mattis metus rutrum amet justo. Scelerisque leo torquent volutpat eu, aenean, nullam. Porttitor netus pellentesque justo. Id etiam molestie per. Tortor vel in sed parturient, orci nec vel ut senectus leo et congue libero faucibus porta scelerisque. Suscipit netus montes magnis ut. Placerat nisl pretium mus malesuada pellentesque Figure 2.
124 |
125 |
126 | Geographic distribution of journals.
127 |
128 |
129 | Ultrices a2 = b2 + c2 laoreet sollicitudin tellus potenti lacinia mauris ut iaculis. Torquent egestas augue nunc est scelerisque ut. Amet sapien vestibulum gravida tincidunt id justo vestibulum porttitor. Pellentesque tellus vitae, libero maecenas ligula lorem, rutrum. Sit, fermentum dictum magna ac? Montes, vivamus taciti donec vitae sapien integer. Aliquet cubilia in turpis hendrerit ac! Elit ut, finibus. Primis molestie euismod vel, sem mauris orci iaculis et. Lobortis nisi id blandit tempus, et tristique et. Elementum tincidunt ut nisl pellentesque sed dictumst nisi. Ultricies eros velit erat euismod, nulla odio aliquam. Dictum mi amet porttitor ultricies sagittis elementum erat. Non, adipiscing tempor. Id mauris non nisl eros quisque? Ultrices rhoncus non risus mauris est nunc Equation 1:
130 |
131 |
132 | Yi = a + bXi + ei
133 |
134 |
135 | Table 2 volutpat sapien curae non tortor at velit, amet. Eget velit taciti pellentesque lacus non, purus lorem. Faucibus ad, aliquet turpis pharetra non sit congue nec. In mauris tempor et maximus malesuada fringilla blandit. Leo praesent tincidunt himenaeos nullam suspendisse. Penatibus felis molestie quam magna tincidunt. Purus nisl vivamus pulvinar in et maximus nibh potenti. Arcu, facilisis aliquam. Dolor faucibus, nulla sed dictum. Eleifend nec nibh, velit faucibus maecenas in eleifend varius quam tortor. Phasellus vehicula ligula maecenas ultrices dui. Curabitur, mauris nisl aliquet elementum mauris aptent tortor sed. Eget, nisl ornare ut vulputate lorem. Placerat nulla lacus maximus sapien viverra mauris et consequat aliquam dictumst vel ac. Neque potenti, malesuada quisque. Sapien montes pellentesque eget sapien efficitur placerat. Hendrerit est at varius, in. Eget pellentesque dui duis turpis magna montes lorem purus. Journals publish, on average, 4.68 issues per year.
136 |
137 |
138 | Descriptive statistics.
139 |
140 |
141 | Auctor natoque mauris libero lacus sem etiam habitant, fusce enim. Porta pharetra non, porttitor tempus odio praesent metus at, augue rhoncus. Ante, blandit nec amet litora habitant, nascetur conubia eget cum mi eget ut. Penatibus parturient lorem sem dui bibendum, nec ipsum. Praesent ante penatibus quisque finibus montes a non ac tempus. Sit ut convallis nec facilisi quam non, interdum. Molestie rhoncus volutpat tempor scelerisque praesent. Sit, sem, phasellus sodales, at quis conubia risus. Ex hac cras ac integer vel amet nec. Dui nisl taciti lobortis sagittis amet tempor in enim hendrerit turpis ante. Nunc cursus tellus volutpat in sapien imperdiet leo nascetur. Magna ut tellus.
142 |
143 |
144 | Sed diam sem id suspendisse maecenas at. Dui pulvinar, morbi laoreet ante. Nisl nibh dictum eu a, massa phasellus, laoreet sem. Id vulputate odio eleifend id interdum nostra montes nulla. Arcu maecenas sociis sed porttitor sed. At ridiculus eu class lorem duis sit adipiscing sed mi ante. Tincidunt cum pulvinar ullamcorper quam. Netus ex lacus id. Magna varius nunc neque facilisis, lorem, ex nisl. Id egestas non fringilla vitae aliquam posuere. Accumsan lacinia justo purus orci feugiat. Augue nulla in vel sem aenean, inceptos massa faucibus. Fermentum sem ut potenti hendrerit id in ligula sed blandit mollis. Eu, a et sit adipiscing nullam massa nibh eros. Aliquet maecenas rutrum ipsum dui, nascetur, mus donec facilisi. Lectus at ultrices ullamcorper torquent.
145 |
146 |
147 | Nisi, felis donec et, primis ut, integer eu molestie conubia habitasse aliquam lacus dapibus. Tempus sed condimentum sociosqu nisl ligula ultrices interdum, nascetur. Sed, turpis lobortis pellentesque sed, consectetur. Cursus interdum dui id nunc suscipit, elit potenti eleifend feugiat. Mattis mauris. Sit accumsan sem dapibus laoreet sociis. Nisl luctus rutrum. Et vitae ornare lorem nec placerat. Id ultrices consequat senectus dapibus ac erat felis ridiculus. Id metus, dapibus volutpat suspendisse.
148 |
149 |
150 | Results
151 |
152 |
153 | Figure 3 lectus mauris, risus nisl fames vitae aptent ac sed. At et eleifend elit per aptent habitant? Arcu magnis rutrum gravida cubilia diam, ipsum senectus scelerisque rutrum. Elementum, mi arcu nunc sed congue neque ac elementum. Quis iaculis sed, ex odio velit. Parturient amet aliquam. Vehicula, curae, primis eros sed eu mauris. Massa neque eu vestibulum augue in fames vel? Tincidunt ac sollicitudin tempor turpis, tortor elit pharetra, sagittis. Quis arcu commodo egestas ante aliquam nisl nunc ex sociosqu? Quisque eget hac amet porttitor sed cubilia convallis, convallis. Sed nisi phasellus velit vestibulum non pellentesque at penatibus nascetur. Fermentum nec sed et leo in mattis suspendisse ut dolor parturient ullamcorper dignissim. Tellus rutrum ultricies, sit sed, cras nec tempor egestas vehicula.
154 |
155 |
156 | A scatterplot of journal metrics.
157 |
158 |
159 | Cras pellentesque, ligula potenti egestas velit pellentesque hac vel massa vitae feugiat. Quis vehicula ultricies felis duis aliquet dolor magna. Tellus interdum curae in egestas eu parturient. Aenean vehicula augue, ad nulla sit. Justo sed quis viverra dui suspendisse elit imperdiet bibendum dictum at. Et fames mauris torquent dictum, tincidunt hendrerit duis. Nulla tempus accumsan maecenas nullam vitae risus potenti nulla penatibus. Hendrerit quis purus ac ac eget vitae. Montes dignissim condimentum vitae sed curae, vitae. Mi, vivamus ante tortor massa ut molestie platea, pellentesque.
160 |
161 |
162 | Table 3 Mauris erat nec scelerisque aptent praesent in, luctus ac primis. In tellus nibh turpis augue. Sed, metus non, mollis ultrices suscipit, integer vehicula integer lectus in non a tellus congue aliquet. Nulla leo orci ut id non sed. Donec ut, sed lacus felis sociosqu, consequat curae sed leo amet. Sollicitudin suspendisse montes sit. Risus nibh nostra penatibus velit. Cursus scelerisque vestibulum aenean hac maximus consequat neque. Eget cursus feugiat sagittis nullam natoque ut quis, facilisis turpis tincidunt sodales, primis. Quisque aliquam quis sit nisi amet enim egestas eget vivamus nostra. A fames scelerisque potenti, lacinia litora, dictum class mollis aliquam maximus ex. Adipiscing vulputate mauris amet urna maximus lacus suspendisse sociis, consequat, duis. Lectus, dictumst donec pretium nunc velit phasellus sed dui nibh. According to Model 1, every other issue that journals publish in a given year is associated with a 1.9 increase (standard error = 0.2) in their H5 Index.
163 |
164 |
165 | Tristique aliquam ac nibh, sed inceptos lorem sed, eu diam aliquam odio. Maximus elit sed ut ut et. A ante et at lorem, torquent, elit, turpis conubia arcu magna diam nostra. Erat suscipit, tincidunt ornare tellus nisl. Venenatis efficitur placerat adipiscing. Cras in ligula tincidunt augue fames in diam dui justo donec. Sociis efficitur mauris lacinia ac vestibulum, fermentum, quis, iaculis sed suspendisse et. Dis consectetur, diam venenatis sociis odio sed integer ut quisque quam pulvinar ad. Consequat eu augue sagittis, sollicitudin dignissim mauris malesuada in feugiat dapibus? Amet pellentesque vel tristique, laoreet dis ullamcorper efficitur. Mollis imperdiet nec, posuere condimentum sed. Litora lorem felis ipsum justo eget morbi sapien volutpat.
166 |
167 |
168 | Regression models.
169 |
170 |
171 | Aenean velit maximus tortor in. At gravida dignissim et conubia. Massa ultrices tortor, justo nunc sed senectus sem dis sed ut. Sed urna ac lacinia tempor ac quis parturient. In enim a blandit cum sit sodales. Nisl ac augue tortor etiam amet turpis eu in et eu. Massa quam semper, massa lobortis neque lacus in laoreet. At ac sagittis et habitasse tempus a scelerisque. Ut dolor arcu, ultricies mi, nulla, dictum, hendrerit, aliquam vestibulum. Suscipit aenean, nec, non vestibulum. Eu, tortor sociosqu, dictum, eros sit. Facilisi sed integer sed ut interdum ut. Sociosqu, torquent. Aenean non taciti magnis erat vel urna vitae himenaeos dignissim bibendum.
172 |
173 |
174 | In sed nulla nam laoreet varius habitant ornare. Non lectus in non ut tincidunt, magna at senectus. Amet lectus, nostra etiam gravida turpis sed interdum quis euismod. Nulla aliquet elit nunc in ac amet mauris, lorem. Non iaculis ac pellentesque nulla, mus. Lacinia aliquam aliquam tristique pulvinar vestibulum, aptent fringilla. Et augue varius eu accumsan semper nulla nulla. Donec cras ut, nec lacinia, dolor senectus dui cras. Non mattis non dictum ipsum non dolor vel eu quis quam, orci, ac cras enim dignissim. Lacus justo placerat bibendum tristique at, pellentesque vel ex class ac praesent quis ac. Ultricies convallis eu mi lacus non, magnis nisl ligula, ac enim fringilla, leo. Id odio sem vel non odio. Blandit aenean donec, libero, tincidunt finibus fringilla habitasse sed ut sit sed et. Egestas fringilla pharetra pharetra, ipsum tincidunt sed. Tincidunt ac pulvinar dictum lorem litora, sed per quis.
175 |
176 |
177 | Conclusion
178 |
179 |
180 | Sed ac est id. Justo leo, gravida tincidunt dui vel magnis mattis sed in pulvinar? Molestie tortor in ultricies luctus nostra quis, dui risus ut tempus? In sed augue aliquam id mus primis cursus nunc adipiscing sit. Eget condimentum integer hac dui efficitur integer ut magna. Tincidunt platea eu hendrerit consequat eu conubia. Facilisis, nec eleifend suspendisse. Leo fames, sapien aptent, eu molestie class, sociis. Risus faucibus etiam quis cubilia, nullam posuere nec, sed. Etiam viverra ex posuere volutpat nunc.
181 |
182 |
183 | Congue ridiculus rhoncus ut facilisis posuere vel quis euismod, nullam ridiculus purus non. Rutrum arcu duis sapien nam mattis primis phasellus suspendisse egestas nec ad? Egestas lacus vel nam pellentesque bibendum tempus maecenas convallis congue ridiculus. Vivamus cubilia sem gravida, curae risus nunc eget a. Et blandit venenatis rhoncus ultrices at mi conubia, nec. Auctor non. Tempor maximus sapien sollicitudin fames. Lobortis curae eu ut gravida risus ut consequat tristique. Id egestas et quis vestibulum iaculis ac, cubilia mauris. Sem in ut. Scelerisque integer in a et sed taciti enim nec amet non sit, cursus. Blandit ornare sed nisl amet, sem. Porta, vulputate, neque laoreet efficitur erat nunc. Sed felis nisi dis turpis, tristique pretium vitae, elementum, nunc. Sit, hendrerit facilisis aliquet ipsum, tellus gravida. Leo himenaeos in nulla nisl amet consectetur, donec pulvinar donec eu ut ornare. Vivamus lorem magnis, curae interdum id et lacus.
184 |
185 |
186 | Pellentesque turpis quam amet non accumsan. Amet leo tellus, quam eleifend in. Ridiculus venenatis laoreet, id a ullamcorper sed. Sed dictumst in non dapibus sociis. Turpis, non nunc, ac turpis metus aliquet sapien tortor pellentesque nostra. Felis etiam posuere eu. Turpis proin turpis eleifend gravida, urna tincidunt eget. Dolor in donec sit, vitae sed justo magna est porttitor tempor facilisis.
187 |
188 |
189 | References
190 |
--------------------------------------------------------------------------------
/manuscript/references.bib:
--------------------------------------------------------------------------------
1 | @article{bennett2015,
2 | title={Peanut butter and jelly},
3 | author={Bennett, Stephanie},
4 | journal={Journal of Bone},
5 | year={2015},
6 | volume={1},
7 | number={12},
8 | pages={3--35},
9 |
10 | }
11 |
12 | @book{delgado2010,
13 | title={Bowl with a tennis ball},
14 | author={Delgado, Timand and Perry, Rosemary},
15 | year={2010},
16 | location={London},
17 | publisher={Press & Presser}
18 | }
19 |
20 | @incollection{gilbert2019,
21 | title={Turning wine into water},
22 | author={Gilbert, Tracy},
23 | booktitle={The book of ground},
24 | editor={Albert, Matthew},
25 | year={2019},
26 | pages={124--142},
27 | location={New York},
28 | publisher={Antman}
29 | }
30 |
--------------------------------------------------------------------------------
/manuscript/reproduce_this.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/manuscript/reproduce_this.pdf
--------------------------------------------------------------------------------
/manuscript/solutions.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Journals: Random Words With Random Data^[Preliminary draft. Please do not cite or circulate without permission from the author.]"
3 | subtitle: "A Mock Paper for an R Markdown Workshop"
4 | author: "Jane Doe^[Department of Science, University of Random. Email: . Website: [www.janedoe.com](https://www.janedoe.com).]"
5 | date: "4 March 2020"
6 | bibliography: "references.bib"
7 | csl: "apa_7th.csl"
8 | output: pdf_document
9 | link-citations: yes
10 | numbersections: true
11 | header-includes:
12 | - \usepackage{setspace}
13 | ---
14 |
15 | ```{r, setup, include=FALSE}
16 |
17 | # chunk option defaults
18 | knitr::opts_chunk$set(echo=FALSE, message=FALSE)
19 |
20 | # packages
21 | library(dplyr)
22 | library(ggplot2)
23 | library(stargazer)
24 |
25 | # data
26 | df_raw <- read.csv("../data/journals.csv")
27 |
28 | ```
29 |
30 | ```{r, data}
31 |
32 | df <- df_raw %>%
33 | mutate(subfield = as.factor(subfield),
34 | english = as.factor(english),
35 | age = 2020 - since) %>%
36 | select(-since)
37 |
38 | ```
39 |
40 | ```{r, models}
41 |
42 | lm1 <- lm(h5_index ~ issues, data = df)
43 | lm2 <- lm(h5_index ~ issues + english, data = df)
44 | lm3 <- lm(h5_index ~ issues + english + subfield, data = df)
45 | lm4 <- lm(h5_index ~ issues + english + subfield + age, data = df)
46 |
47 | ```
48 |
49 |
50 | # Abstract {-}
51 |
52 |
53 | Laoreet est, at turpis, et et sodales in volutpat arcu magna massa. At, rutrum felis fringilla. Turpis aliquam ante dictum, viverra. Aliquam velit auctor efficitur nascetur diam. Quis eu donec. Auctor curabitur ut. Elementum est sed et. Curae cras ac nibh.
54 | Habitant ante, dolor pharetra egestas montes ornare ut iaculis?Odio lectus quisque dapibus turpis sit, cursus in interdum in, magna sapien.Ac eget mattis, in suspendisse tempus lacinia, sed ullamcorper. Scelerisque nunc ut iaculis porta turpis bibendum pretium. Accumsan vestibulum lorem, vestibulum consequat urna eu, cum finibus nulla semper suscipit vulputate. Urna facilisis volutpat metus ut sociis vitae in lorem nibh. Ipsum vel, maximus maecenas in a. Aptent congue, rutrum nisl ridiculus at. Lectus ac tincidunt eu at netus ut, ipsum lacinia a aliquam sapien. Vel egestas purus nibh consequat orci. Dui, eu, nisi sociis enim mi et sodales purus. Quam maecenas ligula elementum neque. Sociis curae viverra lorem vitae in natoque ut.
55 |
56 |
57 | > Lorem ipsum dolor sit amet, eros nibh eget mollis.
58 | >
59 | > Tincidunt Cubilia
60 |
61 | \onehalfspacing
62 |
63 | # Introduction
64 |
65 |
66 | Vestibulum, **sociis ipsum**. Massa, sed ac eu fringilla sed luctus sodales, sit porttitor non. Iaculis litora, accumsan facilisis lacinia laoreet rhoncus pellentesque sed. At, viverra enim proin quis neque efficitur. Quam sit est sed at ut aliquam. Condimentum efficitur ultricies tincidunt dui porta faucibus feugiat nec montes. Tincidunt congue quisque libero parturient gravida molestie et. Dolor felis sed, neque tempus tincidunt dapibus vestibulum in vehicula. Ac mollis mus scelerisque per gravida. Fusce curabitur in venenatis suscipit fames mi magna magna. Cubilia suspendisse dolor eu eget congue enim in sed. In nullam etiam cum iaculis maecenas nulla ac. Sem adipiscing sed sed dolor mollis magnis mauris platea velit natoque *consequat in cubilia*.
67 |
68 |
69 | Eu sodales phasellus nullam ornare, est ligula. [^1] Suspendisse facilisi habitasse eget tristique at et pellentesque sed. Amet, luctus ex faucibus dapibus enim ac mauris. Commodo nec nisl vel massa justo condimentum blandit lobortis. Lectus suspendisse tempus at nec fusce facilisis tempor. Feugiat maecenas turpis amet non ultricies, inceptos lacinia. Justo fames cum tortor blandit, aliquet ac semper. Malesuada risus nulla id ultrices, enim orci, eu et, faucibus ornare nec justo. Sit pharetra justo habitant sociosqu augue, turpis ut ut integer.^[Non at cubilia ut at nisi].
70 |
71 |
72 | [^1]: In nunc eu libero arcu posuere varius. Donec nascetur sagittis volutpat et quis quis lectus. Id et cursus ridiculus, sed, hendrerit nisi mauris per! Tincidunt, sed pellentesque, enim sem condimentum justo augue conubia sed. Convallis scelerisque ultricies sed nunc bibendum. Quisque, feugiat sed nisl. Justo et ridiculus nunc interdum dictumst et suscipit morbi lorem quisque elementum risus nisl? Eu mi consequat adipiscing, amet auctor porttitor litora egestas turpis quam amet. Nunc et torquent, enim, ut sed auctor.
73 |
74 |
75 | [Literature Review](#literature-review), dolor eget orci integer gravida. Efficitur et augue facilisis turpis, neque pharetra venenatis ut. Tempus ut sapien dui habitasse ac enim sit elit amet. Ut consequat consectetur ut, donec amet sed. Vel, ut senectus vestibulum donec vitae. Duis euismod, ultrices quis proin tristique ac felis morbi. Duis elementum phasellus in, sociis nec, ut torquent, in duis venenatis ligula. Tristique morbi dictum suspendisse pellentesque vehicula aliquet. Tincidunt ac nunc fames. Faucibus ultrices ut ut nisl quam nibh ligula sollicitudin. Ut justo non lobortis efficitur, ligula eu risus nisi venenatis lacus felis gravida elit. Results neque lorem rhoncus nec, facilisis class lectus.
76 |
77 |
78 | Varius R^2^ natoque dolor nisl donec nostra id dictum turpis. Nisi dignissim sed nec nam mi porttitor quam sit. Iaculis magna vel nullam in commodo ante nunc habitant. Luctus ex sapien ac molestie, vel amet et ac. Molestie velit in commodo, leo ridiculus mauris nunc, in in. Consectetur eu a. Dictumst consequat erat amet non ut tristique maecenas. Et congue. Faucibus convallis felis metus aptent curae. Sed est eros, nostra eget nam ut nam. Gravida ex mi nec ut ultrices ut nisl turpis amet felis.Finibus luctus molestie donec laoreet, ante curae eleifend commodo. Tempus efficitur enim turpis sociis. Habitant mollis. In nulla, curae condimentum erat penatibus dapibus leo orci enim. Rhoncus egestas laoreet eros turpis. Pretium finibus iaculis praesent, viverra sed suscipit ut in. Morbi fusce faucibus phasellus nullam massa. Lobortis nulla, in, vel CO~2~.
79 |
80 |
81 | Nisl sed ridiculusn 12--13, ut habitant vitae tempus diam, viverra sociis. Nostra metus amet arcu dui ac vehicula maecenas, augue vulputate. Netus, convallis et cum ultrices, consequat ac etiam. Eget sed viverra mauris pellentesque nibh! Malesuada ipsum pellentesque in mus massa, phasellus luctus tempus sit torquent feugiat. Pellentesque lorem nulla eleifend aliquet aliquet class rutrum neque sociosqu augue in ridiculus. Ut massa malesuada et in fusce dolor faucibus. Massa vestibulum consectetur nam nam. Sit porttitor nunc ante curabitur mattis justo. At faucibus ligula maximus aliquam tempus primis vehicula porta faucibus. Lectus rutrum maximus penatibus. Est velit integer libero pellentesque et dolor netus sed. Dignissim tincidunt, dignissim cum. Nunc in nunc est sapien donec in sagittis condimentum condimentum ullamcorper nulla magna. Sed ad cum sed varius enim adipiscing mollis torquent, vitae, ut tempus. Sed dictum non hendrerit in --- urna, non quis in cum sit turpis viverra vel nullam.
82 |
83 |
84 | # Literature Review
85 |
86 |
87 | Sit nunc auctor at id diam [@bennett2015]. Tempus platea eu. Scelerisque facilisis rhoncus eu lacus vivamus ac, ut. Orci nec metus nullam sed et quis. Magnis in vitae, feugiat eleifend dignissim vitae. Leo hac sed suscipit quis rhoncus nunc tincidunt. Mi nibh lectus faucibus tellus diam sed, convallis. Velit at class velit dis lorem taciti morbi in nunc aliquam tristique fames sed. Eu lectus gravida congue augue id semper magna libero [@gilbert2019 216].
88 |
89 |
90 | [-@gilbert2019] sed et natoque, donec pulvinar sollicitudin quisque vivamus. Tortor, lacus morbi at dui aenean amet laoreet elit. Viverra magna litora magna, sapien. Donec mi class in integer. Nulla vel ullamcorper tristique dis et, sociosqu vel. Pellentesque at mauris pellentesque volutpat non purus aenean quam. Congue interdum, id amet class libero, ac velit neque. Vitae odio nisl in et, proin, sed sit. Est fames mus pellentesque sagittis velit [for example, see @bennett2015].
91 |
92 |
93 | [-@xie2019 12] 'mus auctor' ipsum. Himenaeos metus in fames aliquam. Erat et eget ut ipsum augue tincidunt elit venenatis. Dapibus in malesuada, tincidunt rhoncus nostra. Orci in, vestibulum. Ullamcorper sem conubia in. Molestie eu taciti non consequat. Et eu enim montes class leo varius parturient ridiculus nec. Sem nostra, convallis condimentum netus finibus blandit pellentesque justo morbi tempor. Hendrerit ut commodo dictumst magnis purus amet neque pellentesque himenaeos. Pharetra et odio aptent velit. Faucibus tristique maecenas dis maximus in dapibus. Et felis justo orci sit eu est tincidunt facilisis convallis. Cubilia nisl enim amet sociis sed platea habitasse pellentesque. Sodales non suscipit, eros consectetur. Vel suspendisse purus congue sed sed ut et. Ultrices ut sem. Urna volutpat vivamus velit, consectetur molestie turpis in [@bennett2015; @delgado2010].
94 |
95 |
96 | Elit platea faucibus massa diam quis vel. Lorem id sit pretium erat convallis vel sed quam. Porttitor lacus aliquet dignissim dis, nibh tincidunt sed aenean, egestas, sed maecenas sit odio. Lobortis fames mauris ac nulla blandit cras mollis. Tempus, placerat metus conubia leo egestas. Nunc euismod torquent cursus volutpat natoque. Fermentum taciti tempus ante lorem sem. Sit in rhoncus cras ante in et cras vestibulum quam nam. Et sed odio. Nisl ut finibus purus malesuada in turpis natoque in. In sed duis at finibus, sed nibh nunc. Aliquam nisl amet magnis curae at in. Ac, vehicula maecenas pretium nibh lacinia nisi odio sit. Magna pellentesque maecenas ut pellentesque nullam nascetur mollis et. Ligula nibh etiam elit lacus mauris vel sagittis lacinia. Ut tincidunt lorem leo sodales ac enim id. Facilisi ridiculus turpis diam a montes eros. Erat urna ante vel nunc eu eros quis conubia massa, a sed, at non.
97 |
98 |
99 | - Arcu platea velit non malesuada ac magna.
100 | - Neque convallis egestas vehicula, nascetur dapibus auctor.
101 | - Suspendisse semper erat magnis.
102 | - In fermentum felis et, tincidunt ridiculus est accumsan velit non.
103 |
104 |
105 | Tellus sapien, eu orci ac, leo senectus in luctus elementum. Tempus, gravida at erat litora cubilia, eget suspendisse donec. Eu aptent magnis id odio ut. Aliquam tempus tincidunt sed ligula nec turpis ipsum massa vitae sollicitudin mi. Conubia sed malesuada interdum tempus. Vestibulum lorem dis, feugiat quam facilisis. Ac, habitant dictum adipiscing ut, metus ante nibh imperdiet non dapibus. Vitae sapien eu pulvinar cursus ac. Sed sapien et a ipsum sed enim eget. Tempor eu mattis, fringilla id eros ut \autoref{markdown_table}.
106 |
107 |
108 | | Author | Year | Design | Journal |
109 | |-----------------|------|--------------|-------------------|
110 | | Benett | 2015 | Experimental | Journal of Bone |
111 | | Delgado & Perry | 2010 | Descriptive | Journal of Route |
112 | | Gilbert | 2019 | Predictive | Journal of Ground |
113 |
114 | : Existing publications in journals \label{markdown_table}
115 |
116 |
117 | Natoque donec lacinia scelerisque nisl est ut laoreet cras. Quisque nulla eu viverra purus lorem a. In praesent, augue finibus velit, nascetur integer? Aenean libero dictumst arcu aliquet at cum maximus, ornare, non fermentum viverra. Ac et class id massa fusce nascetur purus lacus. Sed nec tincidunt aptent eros netus praesent ligula sociis. Dui fermentum sed at tortor adipiscing. Urna hac vel eu ipsum mattis et sem praesent porta maecenas. Nulla nunc rutrum primis mollis ac nam, sed sed nulla. Ligula sed hac in curabitur, justo nec, aliquet habitant. Aenean mollis egestas ut lectus elit nibh nec, pellentesque nunc. Interdum auctor. Sem senectus nec sed in, sagittis pharetra in augue, ut. Pharetra ut, arcu donec curabitur duis ut maecenas at. Imperdiet aliquet aptent maximus posuere condimentum feugiat, vitae maximus volutpat. Condimentum, nibh aenean et tincidunt. Vestibulum tempor purus mattis sit sit vel? Metus, hendrerit laoreet, elit egestas phasellus sed quam iaculis tristique. Aliquam consectetur ornare vestibulum quam at integer. Curae et, cum ut placerat ut. Quisque sagittis gravida consequat mattis vitae, rhoncus egestas iaculis in montes.
118 |
119 |
120 | # Theory and Hypotheses
121 |
122 |
123 | Non, posuere posuere egestas. Vel, risus imperdiet ac ipsum. Amet, vel ultricies ut finibus parturient egestas. Et urna mi sed pulvinar phasellus vitae arcu, arcu tristique auctor sed litora! Congue eu eu non vel mus egestas varius accumsan ante et. Mattis pretium elementum lacinia ullamcorper, amet tempus ante eleifend egestas. Primis purus sit a arcu in non, amet rutrum. Ipsum iaculis aliquet dignissim amet felis augue ut. Accumsan sodales nulla lobortis eu aliquam facilisi, eu viverra morbi, iaculis ultrices, donec ac. Laoreet fringilla sit ut venenatis commodo aliquam pharetra. Molestie mus ante, in amet metus quam.
124 |
125 |
126 | ## First Hypothesis
127 |
128 |
129 | Quis elit in tristique, hendrerit blandit nec risus purus. Dapibus montes finibus amet, eu sit sit. Eu elementum euismod lacinia ipsum per natoque ipsum. Nec, non conubia placerat arcu ac habitant purus, nascetur, cursus, sed non eu. Consequat eu in bibendum platea scelerisque mollis. Amet nulla, dui. Cum luctus auctor, justo sapien a sollicitudin in eu. Ipsum nam proin eu maximus dui egestas diam vehicula leo, porta? Sit dictum mus turpis consequat magna. Sed hac netus ac. Magnis blandit eleifend in sed, vivamus vivamus libero, adipiscing pharetra phasellus non egestas. Dui porttitor, rhoncus, ac a aptent rhoncus augue a? Ac leo sed, erat dui a. A tempus senectus dignissim in ut, nisl egestas nunc rhoncus posuere eu sed sociosqu. Ut lacus a, mauris sed. Vivamus enim nulla per nisl. Sodales quam.
130 |
131 |
132 | > H1: *Suspendisse suspendisse nisi tellus sagittis mus vel lectus tempor*.
133 |
134 |
135 | Ut at vitae sodales justo. Placerat in natoque sit convallis ligula primis, ipsum urna convallis. Sed elit magna, orci natoque porta, dis nostra commodo et lobortis massa sed. Nulla nunc sed et nec malesuada nunc tellus auctor conubia a vel. Maximus nibh commodo vel, non libero interdum feugiat porta aliquam dictumst facilisis? Vel eu felis metus, sed dictumst nibh. Suscipit lectus proin augue nulla tempor sed. Nisi ornare sed proin. Nullam non nisi metus mattis non tincidunt congue ac aliquam morbi. Tempor suspendisse porta, et tincidunt, quam phasellus a erat vel. Vitae libero, per curabitur lorem nulla tristique vestibulum tempor blandit.
136 |
137 |
138 | ## Second Hypothesis
139 |
140 |
141 | Ipsum imperdiet et pellentesque suspendisse. Nostra condimentum turpis varius. Condimentum luctus ante, porttitor, laoreet a nostra, tempus habitasse. Integer sed. Interdum duis diam integer ut mauris et turpis purus. Sed sit vitae. Et diam lacus velit fusce urna. Ut nunc, ligula eu curae fringilla tincidunt nullam. Condimentum auctor vitae eleifend nibh pharetra conubia in sed lacus ut et nascetur velit, risus nunc. A netus. Sed justo. Eu eros non sit auctor diam. In vestibulum eros mus.
142 |
143 |
144 | > H2: *Conubia, vivamus nec mauris risus nec commodo*.
145 |
146 |
147 | Nisi velit sem, sollicitudin nam ut, ac vitae et sed sed lobortis sapien. Amet, blandit bibendum accumsan, a nulla sed aptent eu, semper. Non nisl at aliquam vitae per ut lorem congue eros, elit nascetur mauris. Pharetra fusce congue felis primis, iaculis consectetur amet bibendum. Condimentum libero metus faucibus tincidunt ut mi ullamcorper phasellus. Odio sed, integer sagittis non eu malesuada eu. Sit lectus sed class sagittis dictumst, class faucibus ex. Ac velit quam himenaeos mollis elit.
148 |
149 |
150 | Nulla et penatibus velit a eu, ultricies donec mi. Nec finibus, justo et eu, non. Velit risus pulvinar commodo tortor aptent in risus ac, magnis ex sit. Pharetra, aenean maximus, ut viverra efficitur nulla. Tincidunt non erat feugiat iaculis nullam tincidunt mauris. Neque lacinia lacus suspendisse fringilla eu pharetra nisi libero at accumsan. Mauris nulla a nam. Ac elit congue suspendisse magna dictumst, interdum ut ex. Ullamcorper in ut lacus cum maximus magnis facilisis rhoncus lacus suscipit. Nunc himenaeos arcu a. Sed metus eget sed lacinia in parturient arcu molestie laoreet.
151 |
152 |
153 | Eget luctus interdum metus aliquet fames nisi varius hendrerit sit donec. Interdum diam ac sed purus mi. A augue aliquet natoque odio sagittis tincidunt a maecenas. Netus proin tempor aptent maecenas, congue. A sit, leo mi litora vel interdum, ligula tempor nullam mauris sed. Ligula vivamus hac lacinia donec sodales vestibulum, class. Amet penatibus, porttitor, auctor. Nec, justo turpis nisl ligula. In scelerisque aenean eros rhoncus nulla, tincidunt a. Congue in non faucibus congue magnis nunc sed. Lacinia, felis nisi mauris quisque sed bibendum cum vestibulum risus. Nulla eleifend quam maximus himenaeos arcu, malesuada, cubilia erat. Non nec auctor, hendrerit tincidunt duis sed convallis non, consequat. Ridiculus rutrum morbi, vestibulum \autoref{g_scholar}.
154 |
155 |
156 | ```{r, screenshot, fig.align="center", out.width="60%", fig.cap="A screenshot of the Google Scholar homepage. \\label{g_scholar}"}
157 |
158 | knitr::include_graphics("../image/google_scholar.png")
159 |
160 | ```
161 |
162 |
163 | Magna porta proin duis in porta ante. Cubilia enim, maecenas risus vestibulum gravida sit nibh. Aenean luctus ut nunc dui taciti sed quis nulla. Vitae, nulla tellus porttitor semper. Habitant, sed habitant. In mi sed lacinia felis lobortis vel id. Etiam justo ullamcorper id. Nullam blandit fringilla sed. Conubia purus nec fermentum sed vel nulla sit sollicitudin nulla lacus. Arcu sed, eros senectus vitae varius mauris dictumst in. Tristique ut urna et ut amet dis risus? Platea ligula bibendum duis porttitor ut orci hac senectus. Nec sed ex, nisi non sagittis auctor ac phasellus mi in sed. Nostra sapien et aliquam luctus proin nec turpis tortor inceptos. Id in rutrum dictumst mattis congue dolor, vitae, pharetra non et. Sem urna natoque ex lorem et, duis commodo ut nullam. Eros ornare ridiculus felis eleifend ullamcorper sed ut, lorem, cursus. Etiam eros quis tristique tincidunt vel ante facilisis, eget. Gravida quis senectus molestie sed est, eu. Dignissim venenatis egestas sed, diam mauris vestibulum turpis. Eu dictumst nullam sapien at per sed eget vitae. Sed justo eros ut vitae etiam elit suscipit. Habitant enim pharetra in, augue lectus sed tortor at?
164 |
165 |
166 | # Data and Methods
167 |
168 |
169 | There are `r nrow(df)` observations in the dataset. Egestas nullam, et mauris inceptos sed scelerisque. Sollicitudin scelerisque in enim sapien pellentesque hendrerit eget cum, tellus. Nam leo volutpat faucibus tempor tortor. Arcu donec vehicula aliquam. Justo ipsum, venenatis ac non. Lorem mus mi vel cum gravida tincidunt. Mattis metus rutrum amet justo. Scelerisque leo torquent volutpat eu, aenean, nullam. Porttitor netus pellentesque justo. Id etiam molestie per. Tortor vel in sed parturient, orci nec vel ut senectus leo et congue libero faucibus porta scelerisque. Suscipit netus montes magnis ut. Placerat nisl pretium mus malesuada pellentesque \autoref{b_plot}.
170 |
171 |
172 | ```{r, barplot, fig.align="center", out.width="75%", fig.cap = "Geographic distribution of journals. \\label{b_plot}"}
173 |
174 | ggplot(data = df, mapping = aes(x = forcats::fct_infreq(origin))) +
175 | geom_bar() +
176 | theme_bw() +
177 | labs(x = "", y = "Number of Journals")
178 |
179 | ```
180 |
181 |
182 | Ultrices a2 = b2 + c2 laoreet sollicitudin tellus potenti lacinia mauris ut iaculis. Torquent egestas augue nunc est scelerisque ut. Amet sapien vestibulum gravida tincidunt id justo vestibulum porttitor. Pellentesque tellus vitae, libero maecenas ligula lorem, rutrum. Sit, fermentum dictum magna ac? Montes, vivamus taciti donec vitae sapien integer. Aliquet cubilia in turpis hendrerit ac! Elit ut, finibus. Primis molestie euismod vel, sem mauris orci iaculis et. Lobortis nisi id blandit tempus, et tristique et. Elementum tincidunt ut nisl pellentesque sed dictumst nisi. Ultricies eros velit erat euismod, nulla odio aliquam. Dictum mi amet porttitor ultricies sagittis elementum erat. Non, adipiscing tempor. Id mauris non nisl eros quisque? Ultrices rhoncus non risus mauris est nunc \autoref{r_equation}:
183 |
184 |
185 | \begin{equation}
186 | \label{r_equation}
187 | Y_{i} = a + bX_{i} + e_{i}
188 | \end{equation}
189 |
190 |
191 | \autoref{s_table} volutpat sapien curae non tortor at velit, amet. Eget velit taciti pellentesque lacus non, purus lorem. Faucibus ad, aliquet turpis pharetra non sit congue nec. In mauris tempor et maximus malesuada fringilla blandit. Leo praesent tincidunt himenaeos nullam suspendisse. Penatibus felis molestie quam magna tincidunt. Purus nisl vivamus pulvinar in et maximus nibh potenti. Arcu, facilisis aliquam. Dolor faucibus, nulla sed dictum. Eleifend nec nibh, velit faucibus maecenas in eleifend varius quam tortor. Phasellus vehicula ligula maecenas ultrices dui. Curabitur, mauris nisl aliquet elementum mauris aptent tortor sed. Eget, nisl ornare ut vulputate lorem. Placerat nulla lacus maximus sapien viverra mauris et consequat aliquam dictumst vel ac. Neque potenti, malesuada quisque. Sapien montes pellentesque eget sapien efficitur placerat. Hendrerit est at varius, in. Eget pellentesque dui duis turpis magna montes lorem purus. Journals publish, on average, `r round(mean(df$issues, na.rm = TRUE), digits = 2)` issues per year.
192 |
193 |
194 | ```{r, summary_table, echo=FALSE, results="asis"}
195 |
196 | stargazer(data = df, type = "latex", summary = TRUE, header = FALSE,
197 | title = "Descriptive statistics.",
198 | covariate.labels = c("H5 Index", "H5 Median", "Issues", "Age"),
199 | omit.summary.stat = c("p25", "p75"),
200 | label = "s_table")
201 |
202 | ```
203 |
204 |
205 | Auctor natoque mauris libero lacus sem etiam habitant, fusce enim. Porta pharetra non, porttitor tempus odio praesent metus at, augue rhoncus. Ante, blandit nec amet litora habitant, nascetur conubia eget cum mi eget ut. Penatibus parturient lorem sem dui bibendum, nec ipsum. Praesent ante penatibus quisque finibus montes a non ac tempus. Sit ut convallis nec facilisi quam non, interdum. Molestie rhoncus volutpat tempor scelerisque praesent. Sit, sem, phasellus sodales, at quis conubia risus. Ex hac cras ac integer vel amet nec. Dui nisl taciti lobortis sagittis amet tempor in enim hendrerit turpis ante. Nunc cursus tellus volutpat in sapien imperdiet leo nascetur. Magna ut tellus.
206 |
207 |
208 | Sed diam sem id suspendisse maecenas at. Dui pulvinar, morbi laoreet ante. Nisl nibh dictum eu a, massa phasellus, laoreet sem. Id vulputate odio eleifend id interdum nostra montes nulla. Arcu maecenas sociis sed porttitor sed. At ridiculus eu class lorem duis sit adipiscing sed mi ante. Tincidunt cum pulvinar ullamcorper quam. Netus ex lacus id. Magna varius nunc neque facilisis, lorem, ex nisl. Id egestas non fringilla vitae aliquam posuere. Accumsan lacinia justo purus orci feugiat. Augue nulla in vel sem aenean, inceptos massa faucibus. Fermentum sem ut potenti hendrerit id in ligula sed blandit mollis. Eu, a et sit adipiscing nullam massa nibh eros. Aliquet maecenas rutrum ipsum dui, nascetur, mus donec facilisi. Lectus at ultrices ullamcorper torquent.
209 |
210 |
211 | Nisi, felis donec et, primis ut, integer eu molestie conubia habitasse aliquam lacus dapibus. Tempus sed condimentum sociosqu nisl ligula ultrices interdum, nascetur. Sed, turpis lobortis pellentesque sed, consectetur. Cursus interdum dui id nunc suscipit, elit potenti eleifend feugiat. Mattis mauris. Sit accumsan sem dapibus laoreet sociis. Nisl luctus rutrum. Et vitae ornare lorem nec placerat. Id ultrices consequat senectus dapibus ac erat felis ridiculus. Id metus, dapibus volutpat suspendisse.
212 |
213 |
214 | # Results
215 |
216 |
217 | \autoref{s_plot} lectus mauris, risus nisl fames vitae aptent ac sed. At et eleifend elit per aptent habitant? Arcu magnis rutrum gravida cubilia diam, ipsum senectus scelerisque rutrum. Elementum, mi arcu nunc sed congue neque ac elementum. Quis iaculis sed, ex odio velit. Parturient amet aliquam. Vehicula, curae, primis eros sed eu mauris. Massa neque eu vestibulum augue in fames vel? Tincidunt ac sollicitudin tempor turpis, tortor elit pharetra, sagittis. Quis arcu commodo egestas ante aliquam nisl nunc ex sociosqu? Quisque eget hac amet porttitor sed cubilia convallis, convallis. Sed nisi phasellus velit vestibulum non pellentesque at penatibus nascetur. Fermentum nec sed et leo in mattis suspendisse ut dolor parturient ullamcorper dignissim. Tellus rutrum ultricies, sit sed, cras nec tempor egestas vehicula.
218 |
219 |
220 | ```{r, scatterplot, fig.align="center", out.width="75%", fig.cap = "A scatterplot of journal metrics. \\label{s_plot}"}
221 |
222 | ggplot(data = df, mapping = aes(x = h5_median, y = h5_index, color = subfield)) +
223 | geom_point() +
224 | facet_wrap(. ~ branch) +
225 | scale_colour_discrete(name = "Journal Type", breaks = c(0, 1), labels = c("Generalist", "Subfield")) +
226 | theme_bw() +
227 | labs(x = "H5 Median", y = "H5 Index")
228 |
229 | ```
230 |
231 |
232 | Cras pellentesque, ligula potenti egestas velit pellentesque hac vel massa vitae feugiat. Quis vehicula ultricies felis duis aliquet dolor magna. Tellus interdum curae in egestas eu parturient. Aenean vehicula augue, ad nulla sit. Justo sed quis viverra dui suspendisse elit imperdiet bibendum dictum at. Et fames mauris torquent dictum, tincidunt hendrerit duis. Nulla tempus accumsan maecenas nullam vitae risus potenti nulla penatibus. Hendrerit quis purus ac ac eget vitae. Montes dignissim condimentum vitae sed curae, vitae. Mi, vivamus ante tortor massa ut molestie platea, pellentesque.
233 |
234 |
235 | \autoref{r_table} Mauris erat nec scelerisque aptent praesent in, luctus ac primis. In tellus nibh turpis augue. Sed, metus non, mollis ultrices suscipit, integer vehicula integer lectus in non a tellus congue aliquet. Nulla leo orci ut id non sed. Donec ut, sed lacus felis sociosqu, consequat curae sed leo amet. Sollicitudin suspendisse montes sit. Risus nibh nostra penatibus velit. Cursus scelerisque vestibulum aenean hac maximus consequat neque. Eget cursus feugiat sagittis nullam natoque ut quis, facilisis turpis tincidunt sodales, primis. Quisque aliquam quis sit nisi amet enim egestas eget vivamus nostra. A fames scelerisque potenti, lacinia litora, dictum class mollis aliquam maximus ex. Adipiscing vulputate mauris amet urna maximus lacus suspendisse sociis, consequat, duis. Lectus, dictumst donec pretium nunc velit phasellus sed dui nibh. According to Model 1, every other issue that journals publish in a given year is associated with a `r round(coef(summary(lm1))["issues", "Estimate"], digits = 1)` increase (standard error = `r round(coef(summary(lm1))["issues", "Std. Error"], digits = 1)`) in their H5 Index.
236 |
237 |
238 | Tristique aliquam ac nibh, sed inceptos lorem sed, eu diam aliquam odio. Maximus elit sed ut ut et. A ante et at lorem, torquent, elit, turpis conubia arcu magna diam nostra. Erat suscipit, tincidunt ornare tellus nisl. Venenatis efficitur placerat adipiscing. Cras in ligula tincidunt augue fames in diam dui justo donec. Sociis efficitur mauris lacinia ac vestibulum, fermentum, quis, iaculis sed suspendisse et. Dis consectetur, diam venenatis sociis odio sed integer ut quisque quam pulvinar ad. Consequat eu augue sagittis, sollicitudin dignissim mauris malesuada in feugiat dapibus? Amet pellentesque vel tristique, laoreet dis ullamcorper efficitur. Mollis imperdiet nec, posuere condimentum sed. Litora lorem felis ipsum justo eget morbi sapien volutpat.
239 |
240 |
241 | ```{r, regression_table, echo=FALSE, results="asis"}
242 |
243 | stargazer(data = list(lm1, lm2, lm3, lm4), type = "latex",
244 | header = FALSE, title = "Regression models.",
245 | keep.stat = c("n", "rsq"),
246 | dep.var.labels = "H5 Index",
247 | covariate.labels = c("Issues", "English", "Subfield", "Age", "Constant"),
248 | star.cutoffs = c(0.05, 0.01, 0.001),
249 | label = "r_table")
250 |
251 | ```
252 |
253 |
254 |
255 | Aenean velit maximus tortor in. At gravida dignissim et conubia. Massa ultrices tortor, justo nunc sed senectus sem dis sed ut. Sed urna ac lacinia tempor ac quis parturient. In enim a blandit cum sit sodales. Nisl ac augue tortor etiam amet turpis eu in et eu. Massa quam semper, massa lobortis neque lacus in laoreet. At ac sagittis et habitasse tempus a scelerisque. Ut dolor arcu, ultricies mi, nulla, dictum, hendrerit, aliquam vestibulum. Suscipit aenean, nec, non vestibulum. Eu, tortor sociosqu, dictum, eros sit. Facilisi sed integer sed ut interdum ut. Sociosqu, torquent. Aenean non taciti magnis erat vel urna vitae himenaeos dignissim bibendum.
256 |
257 |
258 | In sed nulla nam laoreet varius habitant ornare. Non lectus in non ut tincidunt, magna at senectus. Amet lectus, nostra etiam gravida turpis sed interdum quis euismod. Nulla aliquet elit nunc in ac amet mauris, lorem. Non iaculis ac pellentesque nulla, mus. Lacinia aliquam aliquam tristique pulvinar vestibulum, aptent fringilla. Et augue varius eu accumsan semper nulla nulla. Donec cras ut, nec lacinia, dolor senectus dui cras. Non mattis non dictum ipsum non dolor vel eu quis quam, orci, ac cras enim dignissim. Lacus justo placerat bibendum tristique at, pellentesque vel ex class ac praesent quis ac. Ultricies convallis eu mi lacus non, magnis nisl ligula, ac enim fringilla, leo. Id odio sem vel non odio. Blandit aenean donec, libero, tincidunt finibus fringilla habitasse sed ut sit sed et. Egestas fringilla pharetra pharetra, ipsum tincidunt sed. Tincidunt ac pulvinar dictum lorem litora, sed per quis.
259 |
260 |
261 | # Conclusion
262 |
263 |
264 | Sed ac est id. Justo leo, gravida tincidunt dui vel magnis mattis sed in pulvinar? Molestie tortor in ultricies luctus nostra quis, dui risus ut tempus? In sed augue aliquam id mus primis cursus nunc adipiscing sit. Eget condimentum integer hac dui efficitur integer ut magna. Tincidunt platea eu hendrerit consequat eu conubia. Facilisis, nec eleifend suspendisse. Leo fames, sapien aptent, eu molestie class, sociis. Risus faucibus etiam quis cubilia, nullam posuere nec, sed. Etiam viverra ex posuere volutpat nunc.
265 |
266 |
267 | Congue ridiculus rhoncus ut facilisis posuere vel quis euismod, nullam ridiculus purus non. Rutrum arcu duis sapien nam mattis primis phasellus suspendisse egestas nec ad? Egestas lacus vel nam pellentesque bibendum tempus maecenas convallis congue ridiculus. Vivamus cubilia sem gravida, curae risus nunc eget a. Et blandit venenatis rhoncus ultrices at mi conubia, nec. Auctor non. Tempor maximus sapien sollicitudin fames. Lobortis curae eu ut gravida risus ut consequat tristique. Id egestas et quis vestibulum iaculis ac, cubilia mauris. Sem in ut. Scelerisque integer in a et sed taciti enim nec amet non sit, cursus. Blandit ornare sed nisl amet, sem. Porta, vulputate, neque laoreet efficitur erat nunc. Sed felis nisi dis turpis, tristique pretium vitae, elementum, nunc. Sit, hendrerit facilisis aliquet ipsum, tellus gravida. Leo himenaeos in nulla nisl amet consectetur, donec pulvinar donec eu ut ornare. Vivamus lorem magnis, curae interdum id et lacus.
268 |
269 |
270 | Pellentesque turpis quam amet non accumsan. Amet leo tellus, quam eleifend in. Ridiculus venenatis laoreet, id a ullamcorper sed. Sed dictumst in non dapibus sociis. Turpis, non nunc, ac turpis metus aliquet sapien tortor pellentesque nostra. Felis etiam posuere eu. Turpis proin turpis eleifend gravida, urna tincidunt eget. Dolor in donec sit, vitae sed justo magna est porttitor tempor facilisis.
271 |
272 |
273 | # References {-}
274 |
--------------------------------------------------------------------------------
/presentation/libs/anchor-sections/anchor-sections.css:
--------------------------------------------------------------------------------
1 | /* Styles for section anchors */
2 | a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;}
3 | a.anchor-section::before {content: '#';}
4 | .hasAnchor:hover a.anchor-section {visibility: visible;}
5 |
--------------------------------------------------------------------------------
/presentation/libs/anchor-sections/anchor-sections.js:
--------------------------------------------------------------------------------
1 | // Anchor sections v1.0 written by Atsushi Yasumoto on Oct 3rd, 2020.
2 | document.addEventListener('DOMContentLoaded', function() {
3 | // Do nothing if AnchorJS is used
4 | if (typeof window.anchors === 'object' && anchors.hasOwnProperty('hasAnchorJSLink')) {
5 | return;
6 | }
7 |
8 | const h = document.querySelectorAll('h1, h2, h3, h4, h5, h6');
9 |
10 | // Do nothing if sections are already anchored
11 | if (Array.from(h).some(x => x.classList.contains('hasAnchor'))) {
12 | return null;
13 | }
14 |
15 | // Use section id when pandoc runs with --section-divs
16 | const section_id = function(x) {
17 | return ((x.classList.contains('section') || (x.tagName === 'SECTION'))
18 | ? x.id : '');
19 | };
20 |
21 | // Add anchors
22 | h.forEach(function(x) {
23 | const id = x.id || section_id(x.parentElement);
24 | if (id === '') {
25 | return null;
26 | }
27 | let anchor = document.createElement('a');
28 | anchor.href = '#' + id;
29 | anchor.classList = ['anchor-section'];
30 | x.classList.add('hasAnchor');
31 | x.appendChild(anchor);
32 | });
33 | });
34 |
--------------------------------------------------------------------------------
/presentation/libs/countdown/countdown.css:
--------------------------------------------------------------------------------
1 | .countdown {
2 | background: inherit;
3 | position: absolute;
4 | cursor: pointer;
5 | font-size: 3em;
6 | line-height: 1;
7 | border-color: #ddd;
8 | border-width: 3px;
9 | border-style: solid;
10 | border-radius: 15px;
11 | box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.4);
12 | -webkit-box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.4);
13 | margin: 0.6em;
14 | padding: 10px 15px;
15 | text-align: center;
16 | }
17 | .countdown {
18 | display: flex;
19 | align-items: center;
20 | justify-content: center;
21 | }
22 | .countdown .countdown-time {
23 | background: none;
24 | font-size: 100%;
25 | padding: 0;
26 | }
27 | .countdown-digits {
28 | color: inherit;
29 | }
30 | .countdown.running {
31 | border-color: #3C9A5F;
32 | background-color: #43AC6A;
33 | }
34 | .countdown.running .countdown-digits {
35 | color: #102B1A;
36 | }
37 | .countdown.finished {
38 | border-color: #D83A20;
39 | background-color: #F04124;
40 | }
41 | .countdown.finished .countdown-digits {
42 | color: #3C1099;
43 | }
44 | .countdown.running.warning {
45 | border-color: #CFAE24;
46 | background-color: #E6C229;
47 | }
48 | .countdown.running.warning .countdown-digits {
49 | color: #3930AA;
50 | }
51 |
52 | @-webkit-keyframes blink {
53 | from {opacity: 1}
54 | 50% {opacity: 0.1}
55 | to {opacity: 1}
56 | }
57 |
58 | @keyframes blink {
59 | from {opacity: 1}
60 | 50% {opacity: 0.1}
61 | to {opacity: 1}
62 | }
63 |
64 | .countdown.running.blink-colon .countdown-digits.colon {
65 | -webkit-animation: blink 2s steps(1, end) 0s infinite;
66 | animation: blink 2s steps(1, end) 0s infinite;
67 | }
68 |
--------------------------------------------------------------------------------
/presentation/libs/countdown/countdown.js:
--------------------------------------------------------------------------------
1 | var counters = {timer: {}};
2 | var update_timer = function(timer, force = false) {
3 | var secs = timer.value;
4 |
5 | // check if we should update timer or not
6 | noup = timer.div.className.match(/noupdate-\d+/);
7 | if (!force && noup != null) {
8 | noup = parseInt(noup[0].match(/\d+$/));
9 | if (secs > noup * 2 && secs % noup > 0) { return; }
10 | }
11 |
12 | // should we apply or remove warning class?
13 | warnwhen = timer.div.dataset.warnwhen;
14 | if (warnwhen && warnwhen > 0) {
15 | if (secs <= warnwhen && !timer.div.classList.contains("warning")) {
16 | timer.div.classList.add("warning");
17 | } else if (secs > warnwhen && timer.div.classList.contains("warning")) {
18 | timer.div.classList.remove("warning");
19 | }
20 | }
21 |
22 | var mins = Math.floor(secs / 60); // 1 min = 60 secs
23 | secs -= mins * 60;
24 |
25 | // Update HTML
26 | timer.min.innerHTML = String(mins).padStart(2, 0);
27 | timer.sec.innerHTML = String(secs).padStart(2, 0);
28 | }
29 | var countdown = function (e) {
30 | target = e.target;
31 | if (target.classList.contains("countdown-digits")) {
32 | target = target.parentElement;
33 | }
34 | if (target.tagName == "CODE") {
35 | target = target.parentElement;
36 | }
37 |
38 | // Init counter
39 | if (!counters.timer.hasOwnProperty(target.id)) {
40 | counters.timer[target.id] = {};
41 | // Set the containers
42 | counters.timer[target.id].min = target.getElementsByClassName("minutes")[0];
43 | counters.timer[target.id].sec = target.getElementsByClassName("seconds")[0];
44 | counters.timer[target.id].div = target;
45 | }
46 |
47 | if (!counters.timer[target.id].running) {
48 | if (!counters.timer[target.id].end) {
49 | counters.timer[target.id].end = parseInt(counters.timer[target.id].min.innerHTML) * 60;
50 | counters.timer[target.id].end += parseInt(counters.timer[target.id].sec.innerHTML);
51 | }
52 |
53 | counters.timer[target.id].value = counters.timer[target.id].end;
54 | update_timer(counters.timer[target.id]);
55 | if (counters.ticker) counters.timer[target.id].value += 1;
56 |
57 | // Start if not past end date
58 | if (counters.timer[target.id].value > 0) {
59 | base_class = target.className.replace(/\s?(running|finished)/, "")
60 | target.className = base_class + " running";
61 | counters.timer[target.id].running = true;
62 |
63 | if (!counters.ticker) {
64 | counters.ticker = setInterval(counter_update_all, 1000);
65 | }
66 | }
67 | } else {
68 | // Bump timer value if running & clicked
69 | counters.timer[target.id].value += counter_bump_increment(counters.timer[target.id].end);
70 | update_timer(counters.timer[target.id], force = true);
71 | counters.timer[target.id].value += 1;
72 | }
73 | };
74 |
75 | var counter_bump_increment = function(val) {
76 | if (val <= 30) {
77 | return 5;
78 | } else if (val <= 300) {
79 | return 15;
80 | } else if (val <= 3000) {
81 | return 30;
82 | } else {
83 | return 60;
84 | }
85 | }
86 |
87 | var counter_update_all = function() {
88 | // Iterate over all running timers
89 | for (var i in counters.timer) {
90 | // Stop if passed end time
91 | console.log(counters.timer[i].id)
92 | counters.timer[i].value--;
93 | if (counters.timer[i].value <= 0) {
94 | counters.timer[i].min.innerHTML = "00";
95 | counters.timer[i].sec.innerHTML = "00";
96 | counters.timer[i].div.className = counters.timer[i].div.className.replace("running", "finished");
97 | counters.timer[i].running = false;
98 | } else {
99 | // Update
100 | update_timer(counters.timer[i]);
101 |
102 | // Play countdown sound if data-audio=true on container div
103 | let audio = counters.timer[i].div.dataset.audio
104 | if (audio && counters.timer[i].value == 5) {
105 | counter_play_sound(audio);
106 | }
107 | }
108 | }
109 |
110 | // If no more running timers, then clear ticker
111 | var timerIsRunning = false;
112 | for (var t in counters.timer) {
113 | timerIsRunning = timerIsRunning || counters.timer[t].running
114 | }
115 | if (!timerIsRunning) {
116 | clearInterval(counters.ticker);
117 | counters.ticker = null;
118 | }
119 | }
120 |
121 | var counter_play_sound = function(url) {
122 | if (typeof url === 'boolean') {
123 | url = 'libs/countdown/smb_stage_clear.mp3';
124 | }
125 | sound = new Audio(url);
126 | sound.play();
127 | }
128 |
129 | var counter_addEventListener = function() {
130 | if (!document.getElementsByClassName("countdown").length) {
131 | setTimeout(counter_addEventListener, 2);
132 | return;
133 | }
134 | var counter_divs = document.getElementsByClassName("countdown");
135 | console.log(counter_divs);
136 | for (var i = 0; i < counter_divs.length; i++) {
137 | counter_divs[i].addEventListener("click", countdown, false);
138 | }
139 | };
140 |
141 | counter_addEventListener();
142 |
--------------------------------------------------------------------------------
/presentation/libs/countdown/smb_stage_clear.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/libs/countdown/smb_stage_clear.mp3
--------------------------------------------------------------------------------
/presentation/libs/header-attrs/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/presentation/libs/remark-css/default-fonts.css:
--------------------------------------------------------------------------------
1 | @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
2 | @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
3 | @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700);
4 |
5 | body { font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif; }
6 | h1, h2, h3 {
7 | font-family: 'Yanone Kaffeesatz';
8 | font-weight: normal;
9 | }
10 | .remark-code, .remark-inline-code { font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace; }
11 |
--------------------------------------------------------------------------------
/presentation/libs/remark-css/default.css:
--------------------------------------------------------------------------------
1 | a, a > code {
2 | color: rgb(249, 38, 114);
3 | text-decoration: none;
4 | }
5 | .footnote {
6 | position: absolute;
7 | bottom: 3em;
8 | padding-right: 4em;
9 | font-size: 90%;
10 | }
11 | .remark-code-line-highlighted { background-color: #ffff88; }
12 |
13 | .inverse {
14 | background-color: #272822;
15 | color: #d6d6d6;
16 | text-shadow: 0 0 20px #333;
17 | }
18 | .inverse h1, .inverse h2, .inverse h3 {
19 | color: #f3f3f3;
20 | }
21 | /* Two-column layout */
22 | .left-column {
23 | color: #777;
24 | width: 20%;
25 | height: 92%;
26 | float: left;
27 | }
28 | .left-column h2:last-of-type, .left-column h3:last-child {
29 | color: #000;
30 | }
31 | .right-column {
32 | width: 75%;
33 | float: right;
34 | padding-top: 1em;
35 | }
36 | .pull-left {
37 | float: left;
38 | width: 47%;
39 | }
40 | .pull-right {
41 | float: right;
42 | width: 47%;
43 | }
44 | .pull-right + * {
45 | clear: both;
46 | }
47 | img, video, iframe {
48 | max-width: 100%;
49 | }
50 | blockquote {
51 | border-left: solid 5px lightgray;
52 | padding-left: 1em;
53 | }
54 | .remark-slide table {
55 | margin: auto;
56 | border-top: 1px solid #666;
57 | border-bottom: 1px solid #666;
58 | }
59 | .remark-slide table thead th { border-bottom: 1px solid #ddd; }
60 | th, td { padding: 5px; }
61 | .remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) { background: #eee }
62 |
63 | @page { margin: 0; }
64 | @media print {
65 | .remark-slide-scaler {
66 | width: 100% !important;
67 | height: 100% !important;
68 | transform: scale(1) !important;
69 | top: 0 !important;
70 | left: 0 !important;
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/presentation/rmd_workshop.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop.pdf
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/bibliography/manuals.bib:
--------------------------------------------------------------------------------
1 | @Manual{setspace,
2 | title = {setspace – Set space between lines},
3 | author = {David Carlisle and Robin Fairbairns and Erica Harris and Geoffrey Tobin},
4 | year = {2011},
5 | note = {LaTeX package, version 6.7a},
6 | url = {https://ctan.org/pkg/setspace},
7 | }
8 |
9 | @book{rfordatascience,
10 | title={R for data science},
11 | author={Hadley Wickham and Garrett Grolemund},
12 | year={2021},
13 | publisher={O'Reilly}
14 | }
15 |
16 | @Manual{apa7th,
17 | title = {American Psychological Association 7th edition (no ampersand)},
18 | author = {Brenton M. Wiernik},
19 | year = {2020},
20 | note = {Citation style language file, version 1.0},
21 | url = {https://www.zotero.org/styles/apa-no-ampersand}
22 | }
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/bibliography/packages.bib:
--------------------------------------------------------------------------------
1 | @Manual{R-base,
2 | title = {R: A Language and Environment for Statistical Computing},
3 | author = {{R Core Team}},
4 | organization = {R Foundation for Statistical Computing},
5 | address = {Vienna, Austria},
6 | year = {2022},
7 | url = {https://www.R-project.org/},
8 | }
9 |
10 | @Manual{R-blogdown,
11 | title = {blogdown: Create Blogs and Websites with R Markdown},
12 | author = {Yihui Xie and Christophe Dervieux and Alison {Presmanes Hill}},
13 | year = {2022},
14 | note = {R package version 1.10},
15 | url = {https://CRAN.R-project.org/package=blogdown},
16 | }
17 |
18 | @Manual{R-bookdown,
19 | title = {bookdown: Authoring Books and Technical Documents with R Markdown},
20 | author = {Yihui Xie},
21 | year = {2022},
22 | note = {R package version 0.26},
23 | url = {https://CRAN.R-project.org/package=bookdown},
24 | }
25 |
26 | @Manual{R-data.table,
27 | title = {data.table: Extension of `data.frame`},
28 | author = {Matt Dowle and Arun Srinivasan},
29 | year = {2021},
30 | note = {R package version 1.14.2},
31 | url = {https://CRAN.R-project.org/package=data.table},
32 | }
33 |
34 | @Manual{R-dplyr,
35 | title = {dplyr: A Grammar of Data Manipulation},
36 | author = {Hadley Wickham and Romain François and Lionel Henry and Kirill Müller},
37 | year = {2022},
38 | note = {R package version 1.0.9},
39 | url = {https://CRAN.R-project.org/package=dplyr},
40 | }
41 |
42 | @Manual{R-fabricatr,
43 | title = {fabricatr: Imagine Your Data Before You Collect It},
44 | author = {Graeme Blair and Jasper Cooper and Alexander Coppock and Macartan Humphreys and Aaron Rudkin and Neal Fultz},
45 | year = {2022},
46 | note = {R package version 0.16.0},
47 | url = {https://CRAN.R-project.org/package=fabricatr},
48 | }
49 |
50 | @Manual{R-ggplot2,
51 | title = {ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics},
52 | author = {Hadley Wickham and Winston Chang and Lionel Henry and Thomas Lin Pedersen and Kohske Takahashi and Claus Wilke and Kara Woo and Hiroaki Yutani and Dewey Dunnington},
53 | year = {2022},
54 | note = {R package version 3.3.6},
55 | url = {https://CRAN.R-project.org/package=ggplot2},
56 | }
57 |
58 | @Manual{R-huxtable,
59 | title = {huxtable: Easily Create and Style Tables for LaTeX, HTML and Other Formats},
60 | author = {David Hugh-Jones},
61 | year = {2021},
62 | note = {R package version 5.4.0},
63 | url = {https://hughjonesd.github.io/huxtable/},
64 | }
65 |
66 | @Manual{R-kableExtra,
67 | title = {kableExtra: Construct Complex Table with kable and Pipe Syntax},
68 | author = {Hao Zhu},
69 | year = {2021},
70 | note = {R package version 1.3.4},
71 | url = {https://CRAN.R-project.org/package=kableExtra},
72 | }
73 |
74 | @Manual{R-knitr,
75 | title = {knitr: A General-Purpose Package for Dynamic Report Generation in R},
76 | author = {Yihui Xie},
77 | year = {2022},
78 | note = {R package version 1.39},
79 | url = {https://yihui.org/knitr/},
80 | }
81 |
82 | @Manual{R-plotly,
83 | title = {plotly: Create Interactive Web Graphics via plotly.js},
84 | author = {Carson Sievert and Chris Parmer and Toby Hocking and Scott Chamberlain and Karthik Ram and Marianne Corvellec and Pedro Despouy},
85 | year = {2021},
86 | note = {R package version 4.10.0},
87 | url = {https://CRAN.R-project.org/package=plotly},
88 | }
89 |
90 | @Manual{R-rmarkdown,
91 | title = {rmarkdown: Dynamic Documents for R},
92 | author = {JJ Allaire and Yihui Xie and Jonathan McPherson and Javier Luraschi and Kevin Ushey and Aron Atkins and Hadley Wickham and Joe Cheng and Winston Chang and Richard Iannone},
93 | year = {2022},
94 | note = {R package version 2.14},
95 | url = {https://CRAN.R-project.org/package=rmarkdown},
96 | }
97 |
98 | @Manual{R-stargazer,
99 | title = {stargazer: Well-Formatted Regression and Summary Statistics Tables},
100 | author = {Marek Hlavac},
101 | year = {2022},
102 | note = {R package version 5.2.3},
103 | url = {https://CRAN.R-project.org/package=stargazer},
104 | }
105 |
106 | @Manual{R-stringi,
107 | title = {stringi: Character String Processing Facilities},
108 | author = {Marek Gagolewski and Bartek Tartanus and others; Unicode and {Inc.} and others},
109 | year = {2021},
110 | note = {R package version 1.7.6},
111 | url = {https://CRAN.R-project.org/package=stringi},
112 | }
113 |
114 | @Manual{R-tinytex,
115 | title = {tinytex: Helper Functions to Install and Maintain TeX Live, and Compile
116 | LaTeX Documents},
117 | author = {Yihui Xie},
118 | year = {2022},
119 | note = {R package version 0.39},
120 | url = {https://github.com/rstudio/tinytex},
121 | }
122 |
123 | @Book{blogdown2017,
124 | title = {blogdown: Creating Websites with {R} Markdown},
125 | author = {Yihui Xie and Alison Presmanes Hill and Amber Thomas},
126 | publisher = {Chapman and Hall/CRC},
127 | address = {Boca Raton, Florida},
128 | year = {2017},
129 | note = {ISBN 978-0815363729},
130 | url = {https://bookdown.org/yihui/blogdown/},
131 | }
132 |
133 | @Book{bookdown2016,
134 | title = {bookdown: Authoring Books and Technical Documents with {R} Markdown},
135 | author = {Yihui Xie},
136 | publisher = {Chapman and Hall/CRC},
137 | address = {Boca Raton, Florida},
138 | year = {2016},
139 | note = {ISBN 978-1138700109},
140 | url = {https://bookdown.org/yihui/bookdown},
141 | }
142 |
143 | @Book{ggplot22016,
144 | author = {Hadley Wickham},
145 | title = {ggplot2: Elegant Graphics for Data Analysis},
146 | publisher = {Springer-Verlag New York},
147 | year = {2016},
148 | isbn = {978-3-319-24277-4},
149 | url = {https://ggplot2.tidyverse.org},
150 | }
151 |
152 | @Book{knitr2015,
153 | title = {Dynamic Documents with {R} and knitr},
154 | author = {Yihui Xie},
155 | publisher = {Chapman and Hall/CRC},
156 | address = {Boca Raton, Florida},
157 | year = {2015},
158 | edition = {2nd},
159 | note = {ISBN 978-1498716963},
160 | url = {https://yihui.org/knitr/},
161 | }
162 |
163 | @InCollection{knitr2014,
164 | booktitle = {Implementing Reproducible Computational Research},
165 | editor = {Victoria Stodden and Friedrich Leisch and Roger D. Peng},
166 | title = {knitr: A Comprehensive Tool for Reproducible Research in {R}},
167 | author = {Yihui Xie},
168 | publisher = {Chapman and Hall/CRC},
169 | year = {2014},
170 | note = {ISBN 978-1466561595},
171 | url = {http://www.crcpress.com/product/isbn/9781466561595},
172 | }
173 |
174 | @Book{plotly2020,
175 | author = {Carson Sievert},
176 | title = {Interactive Web-Based Data Visualization with R, plotly, and shiny},
177 | publisher = {Chapman and Hall/CRC},
178 | year = {2020},
179 | isbn = {9781138331457},
180 | url = {https://plotly-r.com},
181 | }
182 |
183 | @Book{rmarkdown2018,
184 | title = {R Markdown: The Definitive Guide},
185 | author = {Yihui Xie and J.J. Allaire and Garrett Grolemund},
186 | publisher = {Chapman and Hall/CRC},
187 | address = {Boca Raton, Florida},
188 | year = {2018},
189 | note = {ISBN 9781138359338},
190 | url = {https://bookdown.org/yihui/rmarkdown},
191 | }
192 |
193 | @Book{rmarkdown2020,
194 | title = {R Markdown Cookbook},
195 | author = {Yihui Xie and Christophe Dervieux and Emily Riederer},
196 | publisher = {Chapman and Hall/CRC},
197 | address = {Boca Raton, Florida},
198 | year = {2020},
199 | note = {ISBN 9780367563837},
200 | url = {https://bookdown.org/yihui/rmarkdown-cookbook},
201 | }
202 |
203 | @Article{stringi2021,
204 | title = {stringi: Fast and portable character string processing in R},
205 | author = {Marek Gagolewski},
206 | journal = {Journal of Statistical Software},
207 | year = {2021},
208 | note = {to appear},
209 | }
210 |
211 | @Article{tinytex2019,
212 | title = {TinyTeX: A lightweight, cross-platform, and easy-to-maintain LaTeX distribution based on TeX Live},
213 | author = {Yihui Xie},
214 | journal = {TUGboat},
215 | year = {2019},
216 | volumne = {40},
217 | number = {1},
218 | pages = {30--32},
219 | url = {https://tug.org/TUGboat/Contents/contents40-1.html},
220 | }
221 |
222 |
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/bibliography/presentation.bib:
--------------------------------------------------------------------------------
1 | @Manual{R-base,
2 | title = {R: A Language and Environment for Statistical Computing},
3 | author = {{R Core Team}},
4 | organization = {R Foundation for Statistical Computing},
5 | address = {Vienna, Austria},
6 | year = {2022},
7 | url = {https://www.R-project.org/},
8 | }
9 |
10 | @Manual{R-blogdown,
11 | title = {blogdown: Create Blogs and Websites with R Markdown},
12 | author = {Yihui Xie and Christophe Dervieux and Alison {Presmanes Hill}},
13 | year = {2022},
14 | note = {R package version 1.10},
15 | url = {https://CRAN.R-project.org/package=blogdown},
16 | }
17 |
18 | @Manual{R-bookdown,
19 | title = {bookdown: Authoring Books and Technical Documents with R Markdown},
20 | author = {Yihui Xie},
21 | year = {2022},
22 | note = {R package version 0.26},
23 | url = {https://CRAN.R-project.org/package=bookdown},
24 | }
25 |
26 | @Manual{R-data.table,
27 | title = {data.table: Extension of `data.frame`},
28 | author = {Matt Dowle and Arun Srinivasan},
29 | year = {2021},
30 | note = {R package version 1.14.2},
31 | url = {https://CRAN.R-project.org/package=data.table},
32 | }
33 |
34 | @Manual{R-dplyr,
35 | title = {dplyr: A Grammar of Data Manipulation},
36 | author = {Hadley Wickham and Romain François and Lionel Henry and Kirill Müller},
37 | year = {2022},
38 | note = {R package version 1.0.9},
39 | url = {https://CRAN.R-project.org/package=dplyr},
40 | }
41 |
42 | @Manual{R-fabricatr,
43 | title = {fabricatr: Imagine Your Data Before You Collect It},
44 | author = {Graeme Blair and Jasper Cooper and Alexander Coppock and Macartan Humphreys and Aaron Rudkin and Neal Fultz},
45 | year = {2022},
46 | note = {R package version 0.16.0},
47 | url = {https://CRAN.R-project.org/package=fabricatr},
48 | }
49 |
50 | @Manual{R-ggplot2,
51 | title = {ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics},
52 | author = {Hadley Wickham and Winston Chang and Lionel Henry and Thomas Lin Pedersen and Kohske Takahashi and Claus Wilke and Kara Woo and Hiroaki Yutani and Dewey Dunnington},
53 | year = {2022},
54 | note = {R package version 3.3.6},
55 | url = {https://CRAN.R-project.org/package=ggplot2},
56 | }
57 |
58 | @Manual{R-huxtable,
59 | title = {huxtable: Easily Create and Style Tables for LaTeX, HTML and Other Formats},
60 | author = {David Hugh-Jones},
61 | year = {2021},
62 | note = {R package version 5.4.0},
63 | url = {https://hughjonesd.github.io/huxtable/},
64 | }
65 |
66 | @Manual{R-kableExtra,
67 | title = {kableExtra: Construct Complex Table with kable and Pipe Syntax},
68 | author = {Hao Zhu},
69 | year = {2021},
70 | note = {R package version 1.3.4},
71 | url = {https://CRAN.R-project.org/package=kableExtra},
72 | }
73 |
74 | @Manual{R-knitr,
75 | title = {knitr: A General-Purpose Package for Dynamic Report Generation in R},
76 | author = {Yihui Xie},
77 | year = {2022},
78 | note = {R package version 1.39},
79 | url = {https://yihui.org/knitr/},
80 | }
81 |
82 | @Manual{R-plotly,
83 | title = {plotly: Create Interactive Web Graphics via plotly.js},
84 | author = {Carson Sievert and Chris Parmer and Toby Hocking and Scott Chamberlain and Karthik Ram and Marianne Corvellec and Pedro Despouy},
85 | year = {2021},
86 | note = {R package version 4.10.0},
87 | url = {https://CRAN.R-project.org/package=plotly},
88 | }
89 |
90 | @Manual{R-rmarkdown,
91 | title = {rmarkdown: Dynamic Documents for R},
92 | author = {JJ Allaire and Yihui Xie and Jonathan McPherson and Javier Luraschi and Kevin Ushey and Aron Atkins and Hadley Wickham and Joe Cheng and Winston Chang and Richard Iannone},
93 | year = {2022},
94 | note = {R package version 2.14},
95 | url = {https://CRAN.R-project.org/package=rmarkdown},
96 | }
97 |
98 | @Manual{R-stargazer,
99 | title = {stargazer: Well-Formatted Regression and Summary Statistics Tables},
100 | author = {Marek Hlavac},
101 | year = {2022},
102 | note = {R package version 5.2.3},
103 | url = {https://CRAN.R-project.org/package=stargazer},
104 | }
105 |
106 | @Manual{R-stringi,
107 | title = {stringi: Character String Processing Facilities},
108 | author = {Marek Gagolewski and Bartek Tartanus and others; Unicode and {Inc.} and others},
109 | year = {2021},
110 | note = {R package version 1.7.6},
111 | url = {https://CRAN.R-project.org/package=stringi},
112 | }
113 |
114 | @Manual{R-tinytex,
115 | title = {tinytex: Helper Functions to Install and Maintain TeX Live, and Compile
116 | LaTeX Documents},
117 | author = {Yihui Xie},
118 | year = {2022},
119 | note = {R package version 0.39},
120 | url = {https://github.com/rstudio/tinytex},
121 | }
122 |
123 | @Book{blogdown2017,
124 | title = {blogdown: Creating Websites with {R} Markdown},
125 | author = {Yihui Xie and Alison Presmanes Hill and Amber Thomas},
126 | publisher = {Chapman and Hall/CRC},
127 | address = {Boca Raton, Florida},
128 | year = {2017},
129 | note = {ISBN 978-0815363729},
130 | url = {https://bookdown.org/yihui/blogdown/},
131 | }
132 |
133 | @Book{bookdown2016,
134 | title = {bookdown: Authoring Books and Technical Documents with {R} Markdown},
135 | author = {Yihui Xie},
136 | publisher = {Chapman and Hall/CRC},
137 | address = {Boca Raton, Florida},
138 | year = {2016},
139 | note = {ISBN 978-1138700109},
140 | url = {https://bookdown.org/yihui/bookdown},
141 | }
142 |
143 | @Book{ggplot22016,
144 | author = {Hadley Wickham},
145 | title = {ggplot2: Elegant Graphics for Data Analysis},
146 | publisher = {Springer-Verlag New York},
147 | year = {2016},
148 | isbn = {978-3-319-24277-4},
149 | url = {https://ggplot2.tidyverse.org},
150 | }
151 |
152 | @Book{knitr2015,
153 | title = {Dynamic Documents with {R} and knitr},
154 | author = {Yihui Xie},
155 | publisher = {Chapman and Hall/CRC},
156 | address = {Boca Raton, Florida},
157 | year = {2015},
158 | edition = {2nd},
159 | note = {ISBN 978-1498716963},
160 | url = {https://yihui.org/knitr/},
161 | }
162 |
163 | @InCollection{knitr2014,
164 | booktitle = {Implementing Reproducible Computational Research},
165 | editor = {Victoria Stodden and Friedrich Leisch and Roger D. Peng},
166 | title = {knitr: A Comprehensive Tool for Reproducible Research in {R}},
167 | author = {Yihui Xie},
168 | publisher = {Chapman and Hall/CRC},
169 | year = {2014},
170 | note = {ISBN 978-1466561595},
171 | url = {http://www.crcpress.com/product/isbn/9781466561595},
172 | }
173 |
174 | @Book{plotly2020,
175 | author = {Carson Sievert},
176 | title = {Interactive Web-Based Data Visualization with R, plotly, and shiny},
177 | publisher = {Chapman and Hall/CRC},
178 | year = {2020},
179 | isbn = {9781138331457},
180 | url = {https://plotly-r.com},
181 | }
182 |
183 | @Book{rmarkdown2018,
184 | title = {R Markdown: The Definitive Guide},
185 | author = {Yihui Xie and J.J. Allaire and Garrett Grolemund},
186 | publisher = {Chapman and Hall/CRC},
187 | address = {Boca Raton, Florida},
188 | year = {2018},
189 | note = {ISBN 9781138359338},
190 | url = {https://bookdown.org/yihui/rmarkdown},
191 | }
192 |
193 | @Book{rmarkdown2020,
194 | title = {R Markdown Cookbook},
195 | author = {Yihui Xie and Christophe Dervieux and Emily Riederer},
196 | publisher = {Chapman and Hall/CRC},
197 | address = {Boca Raton, Florida},
198 | year = {2020},
199 | note = {ISBN 9780367563837},
200 | url = {https://bookdown.org/yihui/rmarkdown-cookbook},
201 | }
202 |
203 | @Article{stringi2021,
204 | title = {stringi: Fast and portable character string processing in R},
205 | author = {Marek Gagolewski},
206 | journal = {Journal of Statistical Software},
207 | year = {2021},
208 | note = {to appear},
209 | }
210 |
211 | @Article{tinytex2019,
212 | title = {TinyTeX: A lightweight, cross-platform, and easy-to-maintain LaTeX distribution based on TeX Live},
213 | author = {Yihui Xie},
214 | journal = {TUGboat},
215 | year = {2019},
216 | volumne = {40},
217 | number = {1},
218 | pages = {30--32},
219 | url = {https://tug.org/TUGboat/Contents/contents40-1.html},
220 | }
221 |
222 | @Manual{setspace,
223 | title = {setspace – Set space between lines},
224 | author = {David Carlisle and Robin Fairbairns and Erica Harris and Geoffrey Tobin},
225 | year = {2011},
226 | note = {LaTeX package, version 6.7a},
227 | url = {https://ctan.org/pkg/setspace},
228 | }
229 |
230 | @book{rfordatascience,
231 | title={R for data science},
232 | author={Hadley Wickham and Garrett Grolemund},
233 | year={2021},
234 | publisher={O'Reilly}
235 | }
236 |
237 | @Manual{apa7th,
238 | title = {American Psychological Association 7th edition (no ampersand)},
239 | author = {Brenton M. Wiernik},
240 | year = {2020},
241 | note = {Citation style language file, version 1.0},
242 | url = {https://www.zotero.org/styles/apa-no-ampersand}
243 | }
244 |
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-66-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-66-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-67-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-67-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-68-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-68-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-69-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-69-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-70-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-70-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-71-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-71-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-72-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-72-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-73-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-73-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-74-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-74-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-75-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-75-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-76-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-76-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/figure-html/unnamed-chunk-77-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/figure-html/unnamed-chunk-77-1.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/bib.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/bib.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/bib1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/bib1.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_chunk_options.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_chunk_options.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_document_outline.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_document_outline.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_format_options.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_format_options.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_knit.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_knit.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_knit_on_save.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_knit_on_save.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_run_chunk.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_run_chunk.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/button_visual_editor.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/button_visual_editor.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/chunk.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/chunk.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/csl.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/csl.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/first_rmd.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/first_rmd.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/google_scholar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/google_scholar.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/journals.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/journals.csv
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/mock_yaml.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/mock_yaml.png
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/text.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/text.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/toolbar.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/toolbar.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/window_global_options.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/window_global_options.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/window_project_options.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/window_project_options.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml2.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml3.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml4.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml4.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml5.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml5.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml6.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml6.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml_extra.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml_extra.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml_html.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml_html.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml_latex.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml_latex.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml_pdf.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml_pdf.PNG
--------------------------------------------------------------------------------
/presentation/rmd_workshop_files/images_data/yaml_word.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/resulumit/rmd_workshop/ed94c22724170089604d95ff19337621d2bdf872/presentation/rmd_workshop_files/images_data/yaml_word.PNG
--------------------------------------------------------------------------------
/test/run_this.R:
--------------------------------------------------------------------------------
1 | # this script prepares your machine for the workshop by downloading/installing ...
2 | # 1. four r packages,
3 | # 2. a custom latex distribution if needed, and
4 | # 3. an r markdown file
5 | # ... to your machine
6 | # please run the script only if you agree with these to happen to your machine
7 | # running it should create a pdf file in your working directory
8 |
9 | # 1. install the packages that we need for the workshop
10 | install.packages(c("rmarkdown", "dplyr", "ggplot2", "stargazer"))
11 |
12 | # 2. install the custom latex distribution, if there is none
13 | if (Sys.which("pdflatex")[[1]] == "") tinytex::install_tinytex()
14 |
15 | # 3. download the test file
16 | download.file(url = "https://raw.githubusercontent.com/resulumit/rmd_workshop/master/test/the_test.Rmd",
17 | destfile = "the_test.Rmd")
18 |
19 | # 4. attempt to turn the r markdown file into a pdf
20 | # note: this will run only if the previous steps are successfully completed
21 | if (all(c("rmarkdown", "dplyr", "ggplot2", "stargazer") %in% installed.packages()) &
22 | Sys.which("pdflatex")[[1]] != "" &
23 | file.exists(file = "the_test.Rmd")) rmarkdown::render("the_test.Rmd", "pdf_document")
24 |
25 | # if everything works, there will appear a new file, titled the_test.pdf, in your working directory
26 | # you may then wish to delete these test files, by uncommenting and running the following line of code
27 | # unlink(c("the_test.Rmd", "the_test.pdf"))
--------------------------------------------------------------------------------
/test/the_test.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | title: "**Congradulations --- It has worked!**"
3 | ---
4 |
5 | # Your machiene can transform R Markdown files into PDF. It is ready for the workshop.
--------------------------------------------------------------------------------