Spiros Stavropoulos (DT) wrote:
> Hi everybody,
> 
> Does R graphs Tippett plots?
> 
Hi Spiros,
You can get pretty much what you want with:

# make up probability and likelihood data
p1<-log(cumsum(abs(rnorm(20))))
l1<-rev(rescale(cumsum(abs(rnorm(20))),c(0,1)))
# plot it in stairstep mode
plot(p1,l1,type="s")
# make up some more data and add another line
p2<-log(cumsum(abs(rnorm(20))))
l2<-rev(rescale(cumsum(abs(rnorm(20))),c(0,1)))
lines(p2,l2,type="s",lty=2)

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to