Showing posts with label data. Show all posts
Showing posts with label data. Show all posts

Tuesday, November 20, 2012

Simple vector analysis in R

First, create a vector:

ClassGrades<- c(94, 95, 91)
#defines a vector called "ClassGrades" by concatenating individual grades on the exam

Then, run your simple analysis

mean(ClassGrades)
#returns the mean on the exam

hist(GlassGrades)
#produces a histogram of the exam grades

Wednesday, July 27, 2011

Uploading files to ftp

This morning, an email requested that I upload sensitive files to a lab ftp. The email gave me the site, user name, and password, and nothing else.

If you ever find yourself in this position, may I suggest starting here:
Download the Client -- it's all you'll need to do a simple file transfer.

Next, hit this up:
The quick guide is both quick and easy to understand.

One big headache I have not been able to overcome is the size limitations on transferred files. I'm trying to upload multiple shapefiles with over 3K records and 20+ fields... anyone out there have a workaround short of breaking up the shapefiles in ArcGIS???