R Programming for Beginners: Understanding Data Frames, Factors, & Strings
R Programming 4.0+
| Beginner
- 14 Videos | 1h 53m 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 coursecreate data frames to store data as indexed rows and columnslabel the rows in data frames and view statisticsindex into the individual values stored in cells in data framesfilter data frames to view rows that satisfy a conditioncombine two data frames using the rbind() and cbind() functionsimplement various join operations on data frames using merge()
-
use factors to limit the allowed values in a variablerecall how string values can be set to be factors in data framescreate factors and filter data and use the tapply() and split() functionsuse tables to view counts of rows with specific values for fieldsperform operations on strings, such as combining and splitting stringsformat strings using formatC() and print data with placeholders using sprintf()summarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 20sUP NEXT
-
2.Creating R Data Frames9m 20s
-
3.Naming R Data Frame Dimensions & Viewing Statistics8m 16s
-
4.Indexing into R Data Frames11m 43s
-
5.Filtering Data in R Data Frames7m 24s
-
6.Combining R Data Frames10m 37s
-
7.Joining R Data Frames6m 7s
-
8.Using Factors in R to Limit Variable Values8m 11s
-
9.Creating R Data Frames with Factors7m 51s
-
10.Using Factors with tapply() and split() in R9m 39s
-
11.Viewing Counts Using Tables in R11m 17s
-
12.Working with Strings in R9m 10s
-
13.Using formatC() & sprintf() in R8m 55s
-
14.Course Summary2m 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.