Description Usage Format Source References Examples
A dataset ...
1 |
A data frame with 12 rows and 3 columns
Whether brook trout are present or absent
Number of PIT-tagged salmon released
Number of tagged salmon that survived and were detected downstream
http://rspb.royalsocietypublishing.org/content/269/1501/1663.short
Levin et al. 2002. Non–indigenous brook trout and the demise of Pacific salmon: a forgotten threat? PRSB 269. DOI: 10.1098/rspb.2002.2063
Whitlock & Schulter. 2nd ed. Analysis of Biological Data.
1 2 3 4 5 6 7 | ## t-test on survival rate (ignores years)
### Calcualte survival
brook_trout_ABD$surv <- brook_trout_ABD$salmon.surv/brook_trout_ABD$salmon.released
### t-test
t.test(surv ~ brook.trout.PRES.ABS, data = brook_trout_ABD)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.