Skip to main content
HomeR

Linear Algebra for Data Science in R

This course is an introduction to linear algebra, one of the most important mathematical topics underpinning data science.

Start Course for Free
4 hours15 videos56 exercises15,750 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Linear algebra is one of the most important set of tools in applied mathematics and data science. In this course, you’ll learn how to work with vectors and matrices, solve matrix-vector equations, perform eigenvalue/eigenvector analyses and use principal component analysis to do dimension reduction on real-world datasets. All analyses will be performed in R, one of the world’s most-popular programming languages.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Introduction to Linear Algebra

    Free

    In this chapter, you will learn about the key objects in linear algebra, such as vectors and matrices. You will understand why they are important and how they interact with each other.

    Play Chapter Now
    Motivations
    50 xp
    Creating Vectors in R
    100 xp
    The Algebra of Vectors
    100 xp
    Creating Matrices in R
    100 xp
    Matrix-Vector Operations
    50 xp
    Matrix-Vector Compatibility
    50 xp
    Matrix Multiplication as a Transformation
    100 xp
    Reflections
    100 xp
    Matrix-Matrix Calculations
    50 xp
    Matrix Multiplication Compatibility
    50 xp
    Matrix Multiplication - Order Matters
    100 xp
    Intro to The Matrix Inverse
    100 xp
  2. 4

    Principal Component Analysis

    “Big Data” is ubiquitous in data science and its applications. However, redundancy in these datasets can be problematic. In this chapter, we learn about principal component analysis and how it can be used in dimension reduction.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

NFL Player datasetWNBA Massey Matrix datasetWNBA Point Differentials dataset

collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
David Campos
Collaborator's avatar
Shon Inouye

prerequisites

Introduction to R
Eric Eager HeadshotEric Eager

VP of Research and Development at SumerSports

Eric Eager is the VP of R&D at SumerSports. Prior to joining Sumer in 2022, he ran R&D at Pro Football Focus, where he analyzed data for all 32 National Football League teams and over 130 college football teams, along with every major media entity and thousands of subscribers. From 2012-2018 he was a professor in the Department of Mathematics and Statistics at the University of Wisconsin – La Crosse, where he published over 25 papers in mathematical biology and the scholarship of teaching and learning while securing more than $300,000 in National Science Foundation funding for undergraduate mentorship.
See More

What do other learners have to say?

Join over 15 million learners and start Linear Algebra for Data Science in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.