Objects in R

Discover the process of creating and manipulating objects in R.

Assignment operators

Creating simple objects in R allows the user to make elementary symbolic representations of complex or straightforward datasets or other information. This enables the user to build and run detailed analyses from seemingly simple code with the object stored in the computer’s memory. At first, creating and manipulating objects can be hard to get used to for those who are accustomed to drag and drop menus or using spreadsheets to manually manipulate and analyze data by selecting columns or individual cells. However, creating and manipulating objects is far more efficient than manually manipulating data. Objects are created with the assign operator, <-, which is an arrow made from a less-than sign and a minus sign.

Get hands-on with 1400+ tech skills courses.