Displaying 4 results from an estimated 4 matches for "numberofbins".
Did you mean:
numberofbanks
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
if(sc <= 0...
2000 Feb 15
1
rpois gives a large number repeatedly (PR#439)
...e 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
if(sc <= 0...
2000 May 07
1
Problem with match.arg() (PR#536)
...have not been able to
reproduce the crash, however.
Now, for a
> last.dump
$"apply(cbind(rep(1e+05, 25000)), 1, lineprofile, 10, 100, 1, "point")"
<environment: 140e187f0>
$"FUN(newX[, i], ...)"
<environment: 1404b6608>
$"apply(cbind(-as.integer(numberofbins/2):as.integer(numberofbins/2)), "
<environment: 1404b5460>
$"FUN(newX[, i], ...)"
<environment: 1400f6798>
$"photonsdetectedbin(ncb, intensityfromcloud(ncb, intensityfromcloud, "
<environment: 1400f55c8>
$"sum(rpois(ncloudsbin, sensitivity * intens...
2001 Aug 02
1
Package GSS for interpolation in more than 2D?
...p 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),
EW=seq(8,25,length=6),
numberofbins=seq(100, 1000, length=7))
what I want to do, is simply to int...