The Blackboard

Where Climate Talk Gets Hot!

Skip to: Content | Sidebar | Footer

Category: Learning R

Calculating Annual Average Temperatures: Conditional Averages

27 November, 2007 (10:43) | Learning R, Statistics

Today’s “How to teach yourself R lesson” involves calculating annual average temperatures from a string of daily temperatures.
The average temperatures, which I must observe, look fairly trendless are plotted to the right. That said, there may be a trend buried in there. If so, it’s sufficiently small to require teasing out using statistics.
Now, [...]

How to attach an R – Project Package.

19 November, 2007 (07:53) | Learning R, Statistics

If you use R any length of time, you will soon learn that many functions you want to use exist in extensions called packages.
What is a package?
The R project has a main program that includes the default function many analysts use to plot, calculate and perform common tasks. It also permits programmers [...]

Read Data into R and Create A Histogram

17 November, 2007 (10:35) | Learning R, Statistics

This post describes what I did to make the very first file I read into the R project statistics package readable. If you obtain a file from some database, it is likely it will not be in a form suitable for reading into R and this may help you. Because I never feel [...]

The R manual & What’s in it.

17 November, 2007 (08:19) | Learning R, Statistics

Teaching myself R at home, with no resources other than the web is a bit daunting. But, I’m up for it. My step was to download the manual: An introduction to R
Inside, I find these section titles:

Preface.
Introduction and Preliminaries
Simple Manipulations, numbers, vectors.
Objects, their modes and attributes.
Ordered and unordered factors.
Arrays and Matrices.
Reading Data From Files.
Probability distributions.
Grouping, [...]