Debugging

R provides a number of tools to help you with debugging your code. The primary tools for debugging functions in R are traceback(): prints out the function call stack after an error occurs; does nothing if there’s no error debug(): flags a function for “debug” mode which allows you to step through execution of a […]

How To

A collection of code showing examples of how to do some common tasks in R.

DA CASE STUDIES – 11

What follows are some case studies that include “Documentation of any cleaning or manipulation of data” as part of the deliverables so I’ve included all my step-by-step details. I’ll start off with R then I’ll duplicate the process using SQL, and finally Tableau. Other analyses done in Python is not included and covered in other […]