[R] adding points in plot loop
catalin roibu
catalinroibu at gmail.com
Wed Mar 23 10:36:58 CET 2016
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",cex.main=2, cex.axis=1.5))
}
Please help me to solve that!
Best regards!
CR
--
-
-
Catalin-Constantin ROIBU
Lecturer PhD, Forestry engineer
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone +4 0230 52 29 78, ext. 531
mobile phone +4 0745 53 18 01
FAX: +4 0230 52 16 64
silvic.usv.ro <http://www.usv.ro/>
[[alternative HTML version deleted]]
More information about the R-help
mailing list