search for: qamp

Displaying 2 results from an estimated 2 matches for "qamp".

Did you mean: camp
2000 May 07
1
Problem with match.arg() (PR#536)
...from: (NULL) (129.240.28.227) Hello again! This is a follow-up to my message on R-help about a problem with match.arg() I have a little more on the topic, but not much really. First, it was not entirely true what I wrote in r-help that I call match.arg() in my ramp(), because ramp() just calls qamp() with runif() as argument, but I have found that it happens both in ramp() and qamp(). Last night, just before I went home, R crashed with a segmentation fault. Unfortunately, I had limit coredumpsize 0, because I seldom want core-files, so I haven't got it. I have removed that limit now. I...
2000 May 23
1
Random number generation problem (PR#554)
...Version: 1.0.1 OS: osf1 Submission from: (NULL) (129.240.28.227) Hello! I'm getting strange numbers from a random number generation function again. I was wondering if it could be the same problem as I reported in (PR#439). I'm using the functions (some comments deleted for brevity): qamp <- function(p, type=c("point", "nolens")) { if(type == "point") return(1 / (2 * sqrt(1 - p))) else return(1) } ramp <- function(n, type=c("point", "nolens")) { if(type == "point") return(qamp(runif(n), type)) el...