Re: [R] adding points in plot loop

2016-03-23 Thread PIKAL Petr
g] On Behalf Of catalin > roibu > Sent: Wednesday, March 23, 2016 10:37 AM > To: R Project Help > Subject: [R] adding points in plot loop > > Dear R users, > > I have a dataframe with 6 columns and I want to create a plot (with for > loop). My question is how to add points in

Re: [R] adding points in plot loop --> try using matplot() !

2016-03-23 Thread Martin Maechler
> Duncan Murdoch > on Wed, 23 Mar 2016 05:55:43 -0400 writes: > On 23/03/2016 5:36 AM, catalin roibu wrote: >> Dear R users, >> >> I have a dataframe with 6 columns and I want to create a plot (with for >> loop). My question is how to add points in the for loop? I

Re: [R] adding points in plot loop

2016-03-23 Thread Duncan Murdoch
On 23/03/2016 5:36 AM, catalin roibu wrote: Dear R users, I have a dataframe with 6 columns and I want to create a plot (with for loop). My question is how to add points in the for loop? I tried this code, but without success. vv<-rbind(colnames(ext)) for(i in 1:ncol(vv)){ with(ext, plot(row

[R] adding points in plot loop

2016-03-23 Thread catalin roibu
Dear R users, I have a dataframe with 6 columns and I want to create a plot (with for loop). My question is how to add points in the for loop? I tried this code, but without success. vv<-rbind(colnames(ext)) for(i in 1:ncol(vv)){ with(ext, plot(rownames(ext), ext[,i], type="p",las=1, bty="n",ce