Create data frame for your datasets in R

How to create data frame for data set?

=>
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

7 Stages of Machine Learning - Framework Introduction

Framework Introduction 7 Stages Introduction Stage 1: Problem Definition Stage 2: Data Collection Stage 3: Data Preparation Stage 4: Data Vi...