knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The mammalsmilks package has an overview of loading data. https://brouwern.github.io/mammalsmilk/articles/b1-data_access.html
Chapters 10 (Loading data from .csv files into RStudio) and 11 (Loading Excel spreadsheets into RStudio) of the class workshop also contains information.
https://brouwern.github.io/BOOK_R_Ecological_Data_Science/loading-data-from-csv-files-into-rstudio.html
https://brouwern.github.io/BOOK_R_Ecological_Data_Science/loading-excel-spreadsheets-into-rstudio.html
Use the cor() function in base R or psych::corr.test().
cor(iris[,-5]) psych::corr.test(iris[,-5])
Do any of the followings statements apply to your data? If true, you might have to deal with non-independence.
Do any of the followings statements apply to your data? If true, you might not have.
Citations which contain pictures which illustrate the structure of various studies can be found in "Appendix 5: Study diagrams." Zuur & Ieno 2016 contain one example (Fig 4).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.