Email the Author

You can use this page to email Pedro J. Aphalo about Learn R …as you learnt your mother tongue.

Please include an email address so the author can respond to your query

This message will be sent to Pedro J. Aphalo

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

This book covers different aspects of the use of the R language plus the languages behind some R packages, including the grammar of graphics implemented in package 'ggplot2' and the grammar of data manipulation implemented in the 'tidyverse' packages. I do not discuss here statistics, just R as a tool and language for data manipulation and display. The idea is for you to learn the R language like children learn a language: they work-out what the rules are simply by listening to people speak and trying to utter what they want to tell their parents. I do give explanations and highlight aspects that may differ from readers expectations, but the intention is mainly for you to use the numerous examples to find-out by yourself the overall patterns and coding philosophy behind the R language. Instead of parents being the sound board for your first utterances in R, the computer will play this role. You should look at and try to repeat the examples, and then try your own hand at modifying them and seeing how the computer responds, does it understand you or not? Then write something new based on your current understanding of the rules...

Are you in doubt about whether this approach will work or not for you? Just give it a try, you can download the book for free in you so wish.

At the moment this book is about 95% complete, but some of the existing text and examples will be revised before final release. Please, do give feedback.

The original datasets and files in formats foreign to R that are used in examples in the book are available in package 'learnrbook' available through CRAN.

Current version is up-to-date with ggplot2 2.2.1 and with several packages extending ggplot2 as released through CRAN, including my own 'ggpmisc' 0.2.15.


About the Author

Pedro J. Aphalo’s avatar Pedro J. Aphalo

I started using R in the late 1990's for the analysis of data from my own experiments. Shortly afterwards in 2001, I started teaching R at BSc and MSc level at the University of Jyväskylä (Finland). I have developed several R packages of which nine are in CRAN , the public repository of R packages. Over the years I have written programs and scripts in about a dozen different languages.

I am currently a Lecturer in Physiological Plant Ecology and Principal Investigator at the Department of Biosciences of the University of Helsinki (Finland). The main focus of my research in on the study of the mechanisms of acquisition and use of information by plants: a field called 'Sensory Ecology of Plants'. I teach ecology, statistics and methods for reproducible research.

My R packages are described at http://www.r4photobiology.info/ and my research in plant biology at http://blogs.helsinki.fi/senpep-blog/. 

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Learnr › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss