Lab- Wednesdays: 1-3:30
Working locally on your computer, you will push or pull versions to and from GitHub. (push sync to do both). Then, you can ‘commit’ to create a version that you can later return to if needed.
If your code is not working, you can use the ‘Revert’ button and Git will send you back to the last commit (previous version of your code).
observation->hypothesis->prediciton->observation
Observation with multiple hypotheses and test predictions and refute predictions.
Very uncommon to see people progressing this way. Our starting viewpoint is instead, “Nature is complex”. So we shy away from stating simple hypotheses and we see this is in the ecology literature. For example: “relative importance of factors x, y, and z”. We don’t usually see a quantification of the relative importance of these factors. But, we do see a “complex mix of biotic, abiotic, and historical factors”. Another that is popping up is “context-dependent”. Of course everything is context dependent. None of these get at a clear hypothesis. Nick calls this “Tangled Bank Fever”.
We do not make good progress by embracing this complexity initially.
Plain-text files-WYSIWYW (what you see is what you want/need) WYSIWYG (what you see is what you get)
yaml- “yet another markdown language” at the top of the page (meta data information)
This text has italics.
This text is bold.
A friend once said:
It’s always better to give than to receive.
These words are widely spaced
One line
Next line
Third line
lists are super easy!!!
Yo! let’s use a link:
Here he is in all of his glory…
footnote at the bottom of the page2
quoted text is formatted this way
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
plaintext
shows this way
All the text that we add in here will be exactly like plain text, and not converted to markdown language. Now I can put big ol' giant spaces
in line r code 6.1415927
#Use comments profusely in your code!
Time <- seq(1,10) #seq makes integer sequence
print(Time) #show contents
## [1] 1 2 3 4 5 6 7 8 9 10
Resp <- runif(10) #random uniform- create 10 random numbers froma uniform distribution
print(Resp)
## [1] 0.174641802 0.573106386 0.044645486 0.583784761 0.400707176
## [6] 0.709884830 0.659120342 0.001219951 0.779415849 0.591207257
plot(x=Time, y=Resp, type="b")
Put an equation (between dollar signs) \(a = b + c\)
Set equation on its own line with this:
\[a = b + c\]
\[H_0 = Z_{a + b}\]
In Markdown, we say H0
Superscripts
\[S = cA^z\]
Combining elements
\[S=cA^z_1 = z_{2 = x_0}\]
Special symbols and fraction
\[\alpha = \frac{\beta}{\gamma + \delta_x}\]
Using the backslash
\[\backslash \alpha \le b \backslash\]
Summation sign
\[z = \sum_{i=1}^X{K}\]
Rendering plaintext in LaTex
\[P(\mbox{Occurence Of Species A}) = Z\]
#```{r, echo=FALSE} (removes the R code)
#eval=FALSE (keeps record of code it will print, but will not run inside that chunk)
plot(runif(20))
print(seq(1,5))
## [1] 1 2 3 4 5