search for: ntotalclouds

Displaying 4 results from an estimated 4 matches for "ntotalclouds".

2000 Feb 11
2
R hangs sometimes and crashes (PR#429)
Full_Name: Kjetil Kjernsmo Version: 0.65.1 OS: Digital UNIX 4.0 Submission from: (NULL) (129.240.28.172) I have the following R code: ncloudsbin <- function(binno, ntotalclouds, numberofbins = 100, linewidth = numberofbins / 6) return(ntotalclouds * dnorm(binno, sd = linewidth)) photonsincidenttodetectorbin <- function(binno, ntotalclouds, avgphotonfromcloud, ampmode = 1, ampmean = 2, numberofbins = 100, linewidth = numberofbins / 6) { sc <- ampmean - ampmode...
2000 Feb 15
1
rpois gives a large number repeatedly (PR#439)
...really strange because a poisson distribution with a parameter of 3 shouldn't see the number 1932 very often, but the same, incredibly high number is drawn repeatedly. These are the two relevant functions, the latter somewhat expanded for debugging purposes. ncloudsbin <- function(binno, ntotalclouds, numberofbins = 100, linewidth = numberofbins / 6) return(ntotalclouds * dnorm(binno, sd = linewidth)) photonsincidenttodetectorbin <- function(binno, ntotalclouds, avgphotonfromcloud, ampmode = 1, ampmean = 2, numberofbins = 100, linewidth = numberofbins / 6) { sc <- ampmean - ampmode...
2000 May 07
1
Problem with match.arg() (PR#536)
...roduce, I just did 100000 runs of ramp(10000, "point") directly with no problems. In my code, ramp is called by a function that is called by a function, that is... :-) However, the code isn't very involved, really, so if you want to try, here it is: ncloudsbin <- function(binno, ntotalclouds, numberofbins = 100, linewidth = numberofbins / 6) return(ntotalclouds * dnorm(binno, sd = linewidth)) intensityfromcloud <- function(ncloudsbin, cloudintensity, exptime, amptype) return(cloudintensity * exptime * ramp(ncloudsbin, amptype)) photonsdetectedbin <- f...
2001 Aug 02
1
Package GSS for interpolation in more than 2D?
...est case, I have two data.frames: For each of the data.frames The three first coloumns make up a 3D grid (I'd like to go up to at least 5), and the fourth coloumn contains the values for the point specified in the first three. The smaller data.frame, may have been generated by e.g. expand.grid(ntotalclouds=seq(1000000, 12000000, length=2), EW=seq(8,25,length=3), numberofbins=seq(100, 1000, length=3)) while the larger data.frame may look like argsspacex50 <- expand.grid(ntotalclouds=seq(1000000, 12000000, length=6),...