O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dealing with Missing Data

Following the advice of the last chapter, you will get a shiny new dataset from the web or a database. You get to work on it. All of a sudden, you find yourself getting warnings about missing values and odd results from tests you're running. You take a closer look at the data and notice that a good proportion of your data—in multiple columns—has NA values. Uh oh.

Desperate, you check if there were import errors; there doesn't seem to be any. What are you going to do?

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required