Displaying 3 results from an estimated 3 matches for "exptim".
Did you mean:
exptime
2011 Nov 24
3
The contrast and Design libraries
...ernatively can tell me another package that is as simple
to use (the students won't cope with anything more complicated - we're all
biologists not statisticians).
I hope someone can help.
Here is a typical bit of code I'm currently running so you can see what
I'm trying to do:
exptime is a covariate and both infstat and status are factors
mod<-glm(propalive~exptime+infstat+status+
infstat:status,
data=dat)
library(contrast)
contrast(mod3,
a = list(status = levels(dat$status), infstat="control", exptime=8230),
b = list(status = levels(dat$s...
2000 May 07
1
Problem with match.arg() (PR#536)
...fromcloud, "
<environment: 1400f55c8>
$"sum(rpois(ncloudsbin, sensitivity * intensityfromcloud))"
<environment: 1400f53e8>
$"rpois(ncloudsbin, sensitivity * intensityfromcloud)"
<environment: 1400f5168>
$"intensityfromcloud(ncb, intensityfromcloud, exptime, amptype)"
<environment: 1400f4c68>
$"ramp(ncloudsbin, amptype)"
<environment: 1400f4920>
$"qamp(runif(n), type)"
<environment: 1400ebdc0>
$"match.arg(type)"
<environment: 1400e97f0>
$"all(arg == choices)"
<environment: 14...
2000 May 23
1
Random number generation problem (PR#554)
...enerate random numbers. I think there might be something wrong
with runif, possibly the same problem as rpois had.
More details:
I'm calling this function a number of times through a function
intensityfromcloud <- function(ncloudsbin, cloudintensity, amptype,
exptime, ...)
{
amps <- ramp(ncloudsbin, amptype)
write(c(max(amps), sum(amps), sum(amps - 1)),
"lastamps.dat", ncolumns=3, append=T)
return(cloudintensity * exptime * amps)
}
...that is called a lot. As you can see, I'm writing the maximum
(among other things) of the gener...