Best Answer · By JanBask Data Science Expert
Jiten Miglani JanBask Expert
Answered on Jan 15, 2020
For doing this we have to select a dataframe for selecting rows and columns. A data frame is a structure having 2 dimensions which contains data in the form of rows and columns. It can be a spreadsheet data and can be represented in the form of tables or dictionaries of series.
In R, let us read a built in dataset which is iris dataset.It contains the followng attributes
Sepal Length
Sepal width
Petal length
Petal width