Basic R Skills feature image Source: National Ecological Observatory Network
NEON EDUCATION bio photo

NEON EDUCATION

Devoted to open data and open source in science and education.

View All Tutorials

Tags

R programming (52)
Hierarchical Data Formats (HDF5) (11)
Spatial Data & GIS (22)
LiDAR (7)
Raster Data (11)
Remote Sensing (11)
Data Visualization (4)
Hyperspectral Remote Sensing (7)
Time Series (15)
Phenology (7)
Vector Data (6)
Metadata (1)
Git & GitHub (6)
(1) (1)

Tutorial by R Package

dplyr (7)
ggplot2 (16)
h5py (2)
lubridate (time series) (6)
maps (1)
maptools (1)
plyr (2)
raster (26)
rasterVis (raster time series) (3)
rgdal (GIS) (24)
rgeos (2)
rhdf5 (11)
sp (5)
scales (4)
gridExtra (4)
ggtheme (0)
grid (2)
reshape2 (3)
plotly (5)

View ALL Tutorial Series




Twitter Youtube Github


Blog.Roll

R Bloggers

Series: Basic R Skills

This series is provides tutorials and references on key skills needed to complete more complex tasks in R. It is not intended as an guide for the introduction to or initial learning of how to use R.

R Skill Level: Beginner - you’re learning, or refreshing on, the basics!

Series Goals/Objectives

After completing the series, you will be able to:

  • Getting Started with the R Programming Language
    • Use basic R syntax
    • Explain the concepts of objects and assignment
    • Explain the concepts of vector and data types
    • Describe why you would or would not use factors
    • Use basic few functions
  • Installing & Updating Packages in R
    • Describe the basics of an R package
    • Install a package in R
    • Call (use) an installed R package
    • Update a package in R
    • View the packages installed on your computer
  • Build & Work With Functions in R
    • Explain why we should divide programs into small, single-purpose functions
    • Use a function that takes parameters (input values)
    • Return a value from a function
    • Set default values for function parameters
    • Write, or define, a function

Things You’ll Need To Complete This Series

Setup RStudio

To complete the tutorial series you will need an updated version of R and, preferably, RStudio installed on your computer.

R is a programming language that specializes in statistical computing. It is a powerful tool for exploratory data analysis. To interact with R, we strongly recommend RStudio, an interactive development environment (IDE).


Set Working Directory: This lesson assumes that you have set your working directory to the location of the downloaded and unzipped data subsets. An overview of setting the working directory in R can be found here.

R Script & Challenge Code: NEON data lessons often contain challenges that reinforce learned skills. If available, the code for challenge solutions is found in the downloadable R script of the entire lesson, available in the footer of each lesson page.

Tutorials in the Series