R Download and install the R base system for your operating system. I assume you use the Rstudio Desktop system to work with the base system. You have to scroll down to find the installer for your operating system. When installing these you can accept all the default options.
You should also install package tidyverse. While connected to the internet, start up RStudio, go to the console prompt
at the > type
My goal is to take everyone through the process of importing a dataset, visualizing it, running a simple analysis (e.g. linear regression/ANOVA), examining the results and getting a publication quality report out at the end.
Setup Before the workshop, you need to install some software on your computer.
You should also install packages lme4, lsmeans, lmerTest. I will also use package pander to make nice tables, but this is optional.
This is the syllabus.
Statement on Diversity I want our classroom to be a safe and inclusive place for all. Every individual is valued, has the capability to succeed and has something to offer the class. While our class may only be a temporary solace from the fear, suffering or depression you may be facing in your day as a result of racism, homophobia, transphobia, sexism, legal/immigration status, political belief, or any other discrimination, know that I am always here for you.
Instructor Dr. Drew Tyre
Office: Hardin Hall Rm 416
Phone: 402-472-4054
E-Mail: atyre2@unl.edu
https://drewtyre.rbind.io
Graduate Teaching Assistants:
Kelly Willemessens (kelly.willemssens@huskers.unl.edu)
Amber MacInnis (thesocialblowfly@gmail.com)
You can also contact us through Canvas.
Office hours: We will not post regular office hours, but we encourage you to make an appointment by email with either Dr. Tyre or your TA. You can also ask questions on the Canvas discussion boards opened for that purpose.
The goal of this week’s lab is just getting your feet wet, learning how to use R. Like all labs, I expect you to submit an R Markdown file that I can compile to html. You should assume any data files are in a subdirectory called “data”. Your file should not echo the code used. Answer the numbered questions in text, referring to graphical and tabular output as needed. You may use base graphics or ggplot2, according to your preference.
Introduction The goal of this week’s lab is to analyze the species area curve data from 9 Mile Prairie, and get more experience making figures and calculating summary statistics in R. Like all labs, I expect you to submit an R Markdown file that I can compile to html. You should assume any data files are in a subdirectory called “data”. Your file should not echo the code used. In the handout, there may be several code blocks making the same graph multiple times with slight tweaks.
We will cover a broad sample of statistical topics relevant to ecologists; the intent is to provide an introduction enabling student to intelligently follow a seminar or scientific paper utilizing these methods. Depending on the needs and interests of the students we will enable students to conduct analyses on their own for a subset of topics. Across all topics we will emphasize modern methods of model selection/multi-model inference and relevant study design questions.
The following figures and outputs are designed to evaluate your readiness to take NRES 803. Type your answers into a TEXT file (NOT a word document!) using a text editor or something like notepad (Windows) or TextEdit (OS/X) or using the RStudio IDE. Copy the question into the file and place your answer underneath it. Save it in a file with the name “yourlastname_is_ready.txt”.
Interpreting graphical and statistical output The RIKZ dataset from the textbook has data on species occurence on 9 sandy beaches along the North Sea.
Instructor Dr. Drew Tyre
Office: Hardin Hall Rm 416
Phone: 402-472-4054
E-Mail: atyre2@unl.edu
https://drewtyre.rbind.io
Time: Lectures & Lab: online (see below for details)
Office hours: M 10-12pm, W 10-12pm, F 2-5pm or by appointment
Index Technical Requirements Description Prerequisites Learning Objectives Instructor’s Role Textbooks Hardware and software requirements Assessment/Grading Course Schedule Course Policies Students with Disabilities HELP (Click on the areas above for more detail)
NRES 803 students will need their own computers set up with R and RStudio by the start of classes
R Download and install the R base system. I recommend you use the Rstudio Desktop system to work with the base system. When installing you can accept all the default options.
You should also install package tidyverse. I am providing all the data and some code for the course in a source package NRES803 which you can download from the files link in Canvas.