From the course: Descriptive Healthcare Analytics in R

Unlock the full course today

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

Finalizing the analytic data set

Finalizing the analytic data set - R Tutorial

From the course: Descriptive Healthcare Analytics in R

Start my 1-month free trial

Finalizing the analytic data set

- [Instructor] Welcome to Chapter Four, Section Three, where we finalize our analytic data set before we get on with our analysis. First, we will start by reviewing our data dictionary and our final code that will make all our calculated variables. Next, I'll show you how to read out your final data set for analysis. We'll review the rules for naming conventions, in case you want to edit the data later. And we will review the order of operation for editing the data. So let's go to our dictionary for a moment. So let's look down this list. As I said before, most of these variables follow this pattern. You make a grouping variable, and then you use that to make the flags. And you run table commands to make sure you didn't mess up. You are guided by the specifications on the tabs that you designed in the previous chapter. And you use the or operator and the and operator when you need to. So let's go to our big code file that we've been working on, where we generated our age variables and…

Contents