From the course: R Essential Training Part 2: Modeling Data

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Computing frequencies

Computing frequencies

From the course: R Essential Training Part 2: Modeling Data

Start my 1-month free trial

Computing frequencies

- [Instructor] When you're ready to start looking at your data, you want to start with the baby steps. Do the most fundamental, and usually the simplest and easiest parts first, as a way of getting started on exploring what's happening in your data. Now the simplest kind of data is nominal or categorical data, which simply indicates how many observations there are in a category. And the simplest analysis for this is frequencies. And I want to show you a few different ways of doing frequencies in R. To do this I'm going to start by loading a few packages, and then I'm going to come down and I'm going to load a dataset that I have available in the example data. In fact, if we go to exercise files, if you ran this from an R Studio project, if you opened the project, it would be right there and it includes these relative references to make it easy to find things. I go to data, and I'm going to be using this one right down here…

Contents