Re: [R] Histogram problem

2009-08-20 Thread Petr PIKAL
Hi R does what you said to it it shall do! Without **reproducible** code and explanation what you did, what you get and what you **expect** to get it would be quite complicated task to understand what your code actually do. e.g. this > > for (i in 1:Count){ > > > > for (j in 1:Count2){

[R] Histogram problem

2009-08-20 Thread Conrad Addo
I'm trying to create a histogram from the following code, but my data keeps adding the Num vector and plotting that. My data in the CSV file is just one vector. Does anyone know why? Thanks Conrad SPXdf = data.frame(read.csv(file = "SPX.csv", header = TRUE, sep = ",", dec = ".", fill = TRUE))