9
Calculus in R
Calculus is a branch of mathematics that studies the relationship between two quantities, connected via a function, from either a micro or a macro perspective. Taking a microscopic lens, such a relationship (often denoted by y = f(x)) manifests in the form of a very small change in the output y given an infinitesimal change in the input x. When switching to the macro perspective, the relationship becomes the cumulative change in y as x changes. The micro perspective corresponds to differential calculus, and the macro perspective corresponds to integral calculus, both introduced in this chapter.
By the end of this chapter, you will have grasped essential concepts in differential and integral calculus. Practical implementations ...
Get The Statistics and Machine Learning with R Workshop now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.