Learn R

Learning R - How to create a dataframe

in 76

In this article I am going to show you three different ways to create a dataframe in R: Creating a new data frame row-wise Doing it in column notation Creating an empty data frame Creating a new dataframe by hand A dataframe is, pretty much, just like a sheet in an Excel workbook. It’s a lot better in many ways, but if you are just starting out learning R that’s the image you should start with.

Continue reading