search for: xipei

Displaying 3 results from an estimated 3 matches for "xipei".

2011 Apr 16
5
how to get the plot like this by R?
....bmp) in a published paper, which is very informative and clear. But I don't know what type the graph is. It looks like a sactter plot but has the points with the same y values are seperate.. I really aprreciate it if someone can tell the type name of the plot and how to get it in R. Xipei Wang, Tel: +86-0-152 1089 2231 Email: wangxipei@gmail.com [[alternative HTML version deleted]]
2011 Jan 13
6
add a linear regression line to the plot
...very simple: I want to add a linear regression line to the plot(type="p"), codes are as below: x<-c(10,20,40,80) y<-c(30,40,100,200) plot(x,y,type="p") lines(lm(x~y),col="red",lwd=1.5) I got only plot without linear line. Many thanks ahead for your advice! Xipei Wang [[alternative HTML version deleted]]
2011 Jan 18
1
plot continuous data vs clock time
...quot;15:30", "21:23") x<-as.POSIXct(strptime(paste(x),"%H:%M")) plot(y~x, type="p") I got the plot, but if I want to plot the x range from 1:20 to 9:25, how can I set the xlim argument? Any suggestions about the clock time plotting would be appreciated. Xipei Wang [[alternative HTML version deleted]]