R Programming for Beginners: Understanding Data Frames, Factors, & Strings

R Programming 4.0+    |    Beginner
  • 14 Videos | 1h 59m 4s
  • Includes Assessment
  • Earns a Badge
Data frames are an R abstraction for tabular data similar to that contained in spreadsheet files or database tables. Data frames can work directly with files in the CSV, JSON, and Excel format, all common formats used to store data. This course outlines the characteristics of data frames in the R programming language and demonstrates how to use them. You'll learn to create basic R data frames from multiple vectors. You'll use factors - similar to enums or enumerated types in other programming languages and great for categorical variables. You'll also learn how to perform various string manipulation operations, such as splitting and joining strings and changing case. You'll then practice the important topic of printing precisely formatted strings with placeholders for variable values. When you're done, you'll be able to use data frames, factors, and strings professionally in your R programming projects.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    create data frames to store data as indexed rows and columns
    label the rows in data frames and view statistics
    index into the individual values stored in cells in data frames
    filter data frames to view rows that satisfy a condition
    combine two data frames using the rbind() and cbind() functions
    implement various join operations on data frames using merge()
  • use factors to limit the allowed values in a variable
    recall how string values can be set to be factors in data frames
    create factors and filter data and use the tapply() and split() functions
    use tables to view counts of rows with specific values for fields
    perform operations on strings, such as combining and splitting strings
    format strings using formatC() and print data with placeholders using sprintf()
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 20s
    UP NEXT
  • Playable
    2. 
    Creating R Data Frames
    9m 20s
  • Locked
    3. 
    Naming R Data Frame Dimensions & Viewing Statistics
    8m 16s
  • Locked
    4. 
    Indexing into R Data Frames
    11m 43s
  • Locked
    5. 
    Filtering Data in R Data Frames
    7m 24s
  • Locked
    6. 
    Combining R Data Frames
    10m 37s
  • Locked
    7. 
    Joining R Data Frames
    6m 7s
  • Locked
    8. 
    Using Factors in R to Limit Variable Values
    8m 11s
  • Locked
    9. 
    Creating R Data Frames with Factors
    7m 51s
  • Locked
    10. 
    Using Factors with tapply() and split() in R
    9m 39s
  • Locked
    11. 
    Viewing Counts Using Tables in R
    11m 17s
  • Locked
    12. 
    Working with Strings in R
    9m 10s
  • Locked
    13. 
    Using formatC() & sprintf() in R
    8m 55s
  • Locked
    14. 
    Course Summary
    2m 14s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE