From: <Bill.Venables_at_csiro.au>

Date: Mon, 14 Apr 2008 11:52:11 +1000

http://www.cmis.csiro.au/bill.venables/

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.

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 Mon 14 Apr 2008 - 01:55:26 GMT

Date: Mon, 14 Apr 2008 11:52:11 +1000

That's not a bad idea. If the wiki comes up again, please do it.

For specifcity, here are the four I would suggest.

Bill Venables

CSIRO Laboratories

PO Box 120, Cleveland, 4163

**AUSTRALIA
**

Office Phone (email preferred): +61 7 3826 7251 Fax (if absolutely necessary): +61 7 3826 7304 Mobile: +61 4 8819 4402 Home Phone: +61 7 3286 7700mailto:Bill.Venables_at_csiro.au

http://www.cmis.csiro.au/bill.venables/

-----Original Message-----

From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org]
On Behalf Of Ben Bolker

Sent: Monday, 14 April 2008 11:00 AM

To: r-help_at_stat.math.ethz.ch

Subject: Re: [R] R equivalent of erfcinv in matlab

<Bill.Venables <at> csiro.au> writes:

*>
*

> At a guess ...

*>
**> > erfc <- function(x) 2 * pnorm(x * sqrt(2), lower = FALSE)
**> > erfcinv <- function(x) qnorm(x/2, lower = FALSE)/sqrt(2)
**> > erfc(0.3)
**> [1] 0.6713732
**> > erfcinv(erfc(0.3))
**> [1] 0.3
**> >
**>
**> It may not hurt to include these wrappers in R for matlab refugees.
**> They seem to be coming thick and fast these days.
**>
*

There's a page on the wiki about matlab to R (actually I think it's titled "Octave to R" -- this could go on there whether or not it gets into base R. I would put it on myself, right now, but the wiki appears to be down?

ping wiki.r-project.org

PING econum.umh.ac.be (193.190.194.5) 56(84) bytes of data.

Ben Bolker

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.

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 Mon 14 Apr 2008 - 01:55:26 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 Mon 14 Apr 2008 - 14:30:28 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.
*