O'Reilly logo

Analytics for the Internet of Things (IoT) by Andrew Minteer

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

Using R for statistical analysis

For this example, we will use the datasets package, which has a wide variety of sample datasets. In RStudio, use the Packages tab to verify the datasets package is in the list and has a checkmark next to it. The Packages tab is in the interface in the lower-right quadrant.

Import the NOAA 15 minute Colorado precipitation dataset that we have been working with by clicking on the Import Dataset button and selecting From CSV.... Navigate to the file, review the data column preview and code preview, and then click on the Import button.

Note the code that was generated for you, which loads the data. You can also ...

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