How to create data frame for data set?
=>
A data frame is used for storing data tables. It is a list of vectors of equal length. You can read data from excel sheet or any table and can create data frame from it.
dat<- read_excel('Data Set.xlsx')
View(df) # Can view your data frame.
=>
A data frame is used for storing data tables. It is a list of vectors of equal length. You can read data from excel sheet or any table and can create data frame from it.
dat<- read_excel('Data Set.xlsx')
my_data<-dat
df=data.frame(my_data)View(df) # Can view your data frame.
No comments:
Post a Comment