R for Photobiology
R for Photobiology
Theory and recipes for common calculations
About the Book
This handbook describes how to use R as a tool for doing calculations related to research in photobiology. Photobiology is the branch of science that studies the interactions of living organisms with visible and ultraviolet radiation. Many of the most frequently used calculations are either related to the characterization of radiation and of the responses of organisms to radiation. We emphasize the first of these aspects related to radiation quantification and the position of the sun. These include acquisition, processing and summarising of spectral data including the calculation of non-weighted and biologically effective exposures. Calculations related to interactions of radiation with inanimate objects and organisms are also treated in detail.
The text and examples assume some familiarity with R and/or programming, but guides those readers new to the language to tutorials and books that will help them learn enough to follow, use and modify the code examples included in the book. The book is structured in five parts: I Theory behind calculations, II Tools used for calculations, III Cookbook of calculations, IV Data acquisition and exchange and V Catalogue of example data.
In most of the examples we use of a suite of R packages developed by Pedro J. Aphalo and described at http://www.r4photobiology.info/. The ten most important packages in the suite are available through CRAN and the two remaining ones through a CRAN-like repository at http://r.r4photobiology.info/.
Part I Theory behind calculations
1 Radiation properties
2 Radiation interactions
3 Photochemistry and photobiology
Part II Tools used for calculations
6 Photobiology R packages
Part III Cockbook of claculations
7 Arithmetic operators and mathematical fucntions
8 Spectra: simple summaries and features
9 Wavebands: simple summaries and features
10 Irradiance (not weighted)
11 Irradiance (weighted or effective)
12 Transmission and reflection
13 Astronomy (of the sun)
15 Colour-based indexes
16 Plotting spectra and colours
17 Radiation physics
Part IV Data Acquisition and exchange
18 Importing and exporting 'R' data
19 Importing and exporting 'foreign' data
20 Data acquisition from within R
Part V Catalogue of example data
23 Radiation sources
24 Optical properties of inanimate objects
25 Example data for organisms
26 Further reading
A Build information
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.