Re: [R] Good Evening,

2020-10-29 Thread Jim Lemon
Hi Joy, As Rui noted, you can get a plot with: jk.dat<-runif(100,1000,1) plot(jk.dat,type="l") This plots your vector of 100 uniformly distributed numbers against their "index" (the order in which they appear in the vector). I suspect your problem is that you want to define a vector of "x" va

Re: [R] Good Evening,

2020-10-29 Thread Rui Barradas
Hello, To plot a graph you don't need to compute the axis, R will do it for you: # create data set.seed(2020)# Make the results reproducible x <- runif(100, 1000, 1) This is not very intuitive but the following will plot the x values in the y axis, along the x axis values 1 to 100.

Re: [R] Good Evening,

2020-10-29 Thread Joy Kissoon
I contacted Martin Maechler (maech...@stat.math.ethz.ch) and was advised to contact you for input on the question below...thanks! I am very new with the R experience, all I know is that it's computer language & coding... I'm trying to plot a regression graph for runif (100, 1000, 1). What am I