Skip to main content
Angel Larry
I Don't like to Delete Old Messages, because they are My Memories!
Asked a question 6 months ago

how to make a data set in r?

Where am I?

In answerQA you can ask and answer questions and share your experience with others!

Jaxon Axel
"Knowing other is Intelligence. Knowing yourself is wisdom. Mastering other is strength. Mastering our self is absolute power."

A data frame is organized with rows and columns, similar to a spreadsheet or database table. In this case, R will read the first line as data, not column headers (and assigns default column header names you can change later). The command above also indicates there's a header row in the file with header=TRUE.