Skip to content

Instantly share code, notes, and snippets.

@oleg
Last active August 29, 2015 14:04
Show Gist options
  • Save oleg/b86a0f9f2d83af60ac97 to your computer and use it in GitHub Desktop.
Save oleg/b86a0f9f2d83af60ac97 to your computer and use it in GitHub Desktop.
## how to specify separator
#mydata <- read.table("/path/to/file", header=FALSE, sep=",")
##one number per line
rev.time <- read.csv("/path/to/file", header=F)
rev.time <- as.numeric(unlist(rev.time))
plot(rev.time)
hist(rev.time)
median(rev.time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment