Abstract
In this last chapter, we briefly consider what to do when you find that your code is running too slow, and, in particular, how to figure out why it is running too slow.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In formulas, x*z means x + z + x:z whereas x:z is the interaction between x and z—in practice the product of their numbers—so y ∼ x*z means ϕ(x, z) = (1, x, z, x ⋅ z)).
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Thomas Mailund
About this chapter
Cite this chapter
Mailund, T. (2017). Profiling and Optimizing. In: Beginning Data Science in R. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2671-1_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2671-1_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2670-4
Online ISBN: 978-1-4842-2671-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)