[R] extracting x and y coordinates from rnorm

2013-08-12 Thread Andrew Halford
Hi Listers, I have generated a random normal distribution using rnorm y - rnorm(180,116.7,5.4) How do I get a list of the x values that correspond to each y value that was generated. If I do a call to y, then I get the y-values but I also need the x values so I can generate a plot in another

Re: [R] extracting x and y coordinates from rnorm

2013-08-12 Thread jim holtman
What do you expect the 'x' values to be? Are you just looking for the sequence 1:180 for plotting? 'y' is just a vector of length 180 with values and has no 'x' associated with it. On Mon, Aug 12, 2013 at 9:15 AM, Andrew Halford andrew.half...@gmail.comwrote: Hi Listers, I have generated a