Walkthrough on the most common functions in R (for ecologists) cheatsheet
Link to the cheat sheet: [ Ссылка ]
Link to download the scripts from the video: [ Ссылка ]
Link to the Basics of R (for Ecologists) course: [ Ссылка ]
Link to tutorial on basic linear regression: [ Ссылка ]
TIMESTAMPS (I know, it's long!):
0:00:00 Introduction to This Video
0:00:58 Getting Started
0:01:35 Creating Vectors with `c()`
0:02:06 Finding Vector Sums with `sum()`
0:02:53 Finding Vector Length with `length()`
0:03:29 # of Unique Values with `unique()`
0:04:21 Converting to Number Format with `as.numeric()`
0:05:46 Taking the Logarithm with `log()`
0:06:36 Ordering Vectors with `sort()`
0:07:48 Finding Missing Data with `is.na()`
0:10:28 Finding Vector Matches with `%in%`
0:12:19 Parsing Dates Using Lubridate
0:15:01 Creating Numeric Sequences using `seq()` and `rep()`
0:16:34 Finding String Patterns with `grepl()`
0:18:55 Loading and Saving Data using `read.csv()` and `write.csv()`
0:19:50 Locating Your Working Directory with `getwd()`
0:21:37 Why NOT to use `setwd()`
0:23:29 Creating Custom Functions
0:26:48 Installing and Loading Packages with `install.packages()` and `library()`
0:28:00 Getting Help with `help()`
0:29:11 Accessing Built-in Datasets with `data()`
0:32:50 Visualizing Data Using `plot()`, `hist()`, and `abline()`
0:39:17 Getting Data Frame Columns using `names()`
0:40:37 Creating Data Frames and Tibbles
0:48:13 Creating a Matrix using `as.matrix()`
0:48:44 Swapping Rows and Columns using `t()`
0:49:18 Functions to View Your Data Frame
0:50:40 Joining Tables using `left_join()`
0:57:34 Using dplyr functions (select, filter, mutate, summarize, group_by)
1:09:54 Creating and Understanding Linear Models using `lm()` and `summary()`
1:13:17 Basic Summary Statistics (mean, max, min, median)
1:15:04 Summarizing Data using `table()`
Ещё видео!