Re: [R] Tippett plot

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Tue, 25 Mar 2008 22:22:19 +1100

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_at_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. Received on Tue 25 Mar 2008 - 11:27:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Mar 2008 - 11:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive