Introduction to Scientific Programming and Simulation Using R

Owen Jones, Robert Maillardet, Andrew Robinson

March 11, 2009 by Chapman and Hall/CRC
Reference - 474 Pages - 95 B/W Illustrations
ISBN 9781420068726 - CAT# C6872
Series: Chapman & Hall/CRC The R Series

This product is not available
SAVE 25%
When you buy 2 or more print books!
See final price in shopping cart.
FREE Standard Shipping!


  • Examines R as the medium for scientific computation
  • Demonstrates simple mathematical tools in the context of stochastic modeling
  • Introduces simple yet useful mathematical tools in the context of stochastic modeling
  • Provides a clear exposition of scientific programming within R
  • Contains simulation exercises to refine intuition about variability, randomness, and inference under certainty
  • Includes access to an accompanying website containing programming code and answers to selected exercises


Known for its versatility, the free programming language R is widely used for statistical computing and graphics, but is also a fully functional programming language well suited to scientific programming.

An Introduction to Scientific Programming and Simulation Using R teaches the skills needed to perform scientific programming while also introducing stochastic modelling. Stochastic modelling in particular, and mathematical modelling in general, are intimately linked to scientific programming because the numerical techniques of scientific programming enable the practical application of mathematical models to real-world problems.

Following a natural progression that assumes no prior knowledge of programming or probability, the book is organised into four main sections:

  • Programming In R starts with how to obtain and install R (for Windows, MacOS, and Unix platforms), then tackles basic calculations and program flow, before progressing to function based programming, data structures, graphics, and object-oriented code
  • A Primer on Numerical Mathematics introduces concepts of numerical accuracy and program efficiency in the context of root-finding, integration, and optimization
  • A Self-contained Introduction to Probability Theory takes readers as far as the Weak Law of Large Numbers and the Central Limit Theorem, equipping them for point and interval estimation
  • Simulation teaches how to generate univariate random variables, do Monte-Carlo integration, and variance reduction techniques

In the last section, stochastic modelling is introduced using extensive case studies on epidemics, inventory management, and plant dispersal. A tried and tested pedagogic approach is employed throughout, with numerous examples, exercises, and a suite of practice projects. Unlike most guides to R, this volume is not about the application of statistical techniques, but rather shows how to turn algorithms into code. It is for those who want to make tools, not just use them.