ADVERTISEMENT
Google AdSense Slot (headerLeaderboard)

Set your Publisher ID in src/config/ads.ts to display live ads.

R Statistical Programming Tutorial• 6 min read

R Data Frames & Subsetting

Organize tabular data using data.frame, select columns with $, and generate quick summary statistics.

Working with Data Frames

A data.frame is a 2D table where each column can hold a different data type, but all columns must have equal row length. Access columns via df$column_name.

ADVERTISEMENT
Google AdSense Slot (inContentBanner)

Set your Publisher ID in src/config/ads.ts to display live ads.

Test Yourself With Exercise

+15 XP

Which operator is used to extract a specific column from an R data frame by name?