Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Summary

In this chapter, we established the fundamentals of the food sales example by presenting the general scenario for The Food Factory: what they do, what they want to accomplish, and, most importantly, how to simulate the data we will need for the rest of the example. We went over various techniques to simulate different kinds of data, like numbers, categories, strings, and dates. The approach we showed is flexible enough to allow you to simulate many different kinds of data in modular and incremental ways. We also showed how to allow flexibility for different assumptions about the simulation to easily take place by using parameter objects. We learned how to create functions that are useful for different scenarios, and how to mix our ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content