Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # I will assume one data point per line, no headers in table
- data <- read.csv("/path/to/data.txt", header=F, stringsAsFactors=F)
- data <- data[, 1]
- #you can plot this data already with, l = line
- plot(data, type ='l', col='red', main='holygrail!!!')
- number_of_bins <- 100
- #this does a histogram
- hist(data, breaks= number_of_bins, main='holygrail plot')
Add Comment
Please, Sign In to add comment