[R] Plotting histogram of RT data

John Kane jrkrideau at inbox.com
Tue Apr 2 16:54:13 CEST 2013


 http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

What is x=readdir supposed to do?

John Kane
Kingston ON Canada


> -----Original Message-----
> From: circle.690 at gmail.com
> Sent: Sun, 31 Mar 2013 22:12:57 +1100
> To: r-help at r-project.org
> Subject: [R] Plotting histogram of RT data
> 
> Hey there,
> 
> I'm relatively new to R, and am currently working my way through some
> basic
> tutorials. I have a large data set that I've been able to import into the
> program. I'm using a script in which x=readdir (the directory). I am
> trying
> to create a histogram of the data in the 17th column, which is response
> time data ranging from ~200 to 15000. I have tried to create a histogram
> by
> entering hist(x[,17]). However, the output that I receive has an x-axis
> that is wayyy out with small values like 0e+00 up to 6e+05. All the data
> is
> clustered together in one bar at 0e+00 and has a frequency of 15000 on
> the
> y-axis. What am I doing wrong? How can I change the output so that I can
> assess the shape of the distribution?
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!



More information about the R-help mailing list