You can just browse the figures available here. If you click on any figure, it will take you to the source code used to produce it (actually an HTML report with the R code and the resulting graphic). The original Rmarkdown document is also available in the same repository.
-
Clone or Pull the latest version of this repository from GitHub.
-
Open and fill in
Rmd_template.Rmd
. Save it in the appropriate folder (e.g. Spatial, Networks...) with an informative name (e.g.bipartite_network.Rmd
). -
Knit your Rmd. This will generate an HTML output file and one (or more) figures in the
figures
folder. -
Open
README.Rmd
to include your figure in the appropriate section (e.g. Spatial, Networks, etc). Just insert a chunk wherever you want the figure to appear, like in this example:
insert("My figure", "Networks/bipartite_network.Rmd")
where "My figure" is the title, and the second argument is the path to your Rmd source document.
-
Knit
README.Rmd
. This will generateREADME.md
. -
Commit everything (the
Rmd
,html
andpng
files, plusREADME.Rmd
andREADME.md
) and push to the GitHub repository.
Thanks!