From the course: Designing Big Data Healthcare Studies, Part Two

Unlock the full course today

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

Code arrangement

Code arrangement - R Tutorial

From the course: Designing Big Data Healthcare Studies, Part Two

Start my 1-month free trial

Code arrangement

- Now we will discuss code arrangement. This video explains how you split up your code and name it in a certain way, so you can be organized in how you develop code to make the analytic data set and then later make the code to analyze the data set. If you are wondering, what is she talking about? I just make one big long code file. Then please understand that many people would be exasperated with you for doing that. That is called spaghetti code and its really hard to troubleshoot. So this video will cover the opposite of spaghetti code, modular code, and how to arrange it so you don't get confused while developing your analytic file and later analyzing it. Modular code files are often very short because they just do one thing. Sometimes that thing is big but if it is small, then there is just a little code in the file. But it plays an important role and has to be run in a certain order. That is why spaghetti code develops. Programmers want to make sure that certain pieces of code are…

Contents