The document contains code for creating an R data frame called "employees" with columns for name, age, height, child status, and smoking status. It then demonstrates various operations on the data frame such as subsetting rows and columns, binding additional columns, and sorting rows by age.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
102 views
Dataframe Concept in R-Programming
The document contains code for creating an R data frame called "employees" with columns for name, age, height, child status, and smoking status. It then demonstrates various operations on the data frame such as subsetting rows and columns, binding additional columns, and sorting rows by age.