Skip to main content
Jose Leo
Accept no one's definition of your life: define yourself.
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!

Thomas
Life Is Not About Waiting For The Storm To Pass, But Learning To Dance In The Rain

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.