Luka Negoita, PhD Profile picture
Ecologist and Data Scientist | Teacher of courses on #Rstats for ecologists | He/Him | My tweets are my own
Jul 2, 2021 15 tweets 5 min read
Here's a basic tutorial for how to do simple linear regression in R!

(all in one thread?!)

#regression #Rstats #datascience #tutorial #ecology #Rthread #linearmodel #dataanalysis #statistics

[1/15] First we are going to load some data. Let's use the built-in "trees" dataset by running:

data(trees)

This dataset is based on 31 black cherry trees trunks: their diameter at breast height (DBH) in inches (girth), height in feet, and wood volume in cubic feet.

[2/15]