lab01_intro2R

lab01_intro2R - Geog 503. Practical Geostatistics ’ &...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Geog 503. Practical Geostatistics ’ & $ % Basic R Operations Turn in R scripts as well as the answers of the following questions. Download the script file from UBlearns/Course Documents/Lab/labTemplate.R, and copy it into your working directory (due on 09/13). Functions : read.table, dim, min, max, mean, median, var, sum, help, log, hist, plot Data Files: itacha.dat 1. Download the data file for Ithaca NY from UBlearns/Course Documents/Lab/Lab#1/ithaca.dat, and copy it into the working directory. Open the file and view its contents with your favorite text editor. The file contains 4 columns: (i) day index from Jan 01-31, (ii) daily precipitation in inches, (iii) minimum daily temperature in degrees Fahrenheit, and (iv) maximum daily temperature in degrees Fahrenheit. 2. Load the data to your workspace. Find which variables are currently stored in your workspace. Assign each column to a variable with a meaningful name, such as “day, precip, tmin, tmax”. Use the command read.table .....
View Full Document

This note was uploaded on 10/05/2010 for the course GEO 503 taught by Professor Stoll during the Fall '10 term at SUNY Buffalo.

Page1 / 2

lab01_intro2R - Geog 503. Practical Geostatistics ’ &...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online