Skip to content

MartinBulla/collaborative_github_exercise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

collaborative_github_exercise

In this exercise we will use the repo to collaboratively generate and collate trait evolution time-series through github.


your mission

Each participant will create and contribute a file specifying the parameters to generate and plot a trendline for their species.


github: fork

  • fork the repo into your own account
  • copy repo url link local files to github repo

rstudio: clone locally

  • create new project
  • checkout from version control/git
  • paste github repo link

rstudio: create parameter .R script

A template is provided in the repo, in folder /params named params_tmpl.R. Open the params_tmpl.R and save as to create a duplicate template. Name the template using the name of your species.


rstudio: edit your params .R script

The parameters each participants need to supply are:

  • sig2: A numeric value greater than 0 but smaller than 5

  • species.name: a character string e.g. "anas_krystallinus". Try to create a species name out of your name!

  • color: e.g. "red"

pick a color at: http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf


rstudio: save and commit the changes

  • Use the git tab, tick the box next to your new script and commit.

  • Supply a descriptive message of the commit.


rstudio: push to github

  • push your changes to github

github: create pull request



outcome:

After merging all participant pull requests, we'll run the code to generate the trendlines and plot all species!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%