Displaying 5 results from an estimated 5 matches for "nsignal".
Did you mean:
signal
1997 Sep 05
2
R-beta: help with R simulation
...r distances (x and y) will be computed.
The code below is my feeble attempt to do the simulation.
So far as I know, it doesn't work. Any help appreciated!
(I am using Mac version of R)
Bill Simpson
# nearest neighbour distance simulation
# for dynamic noise dots
do.sim<-function(nnoise, nsignal, jump)
{
ntotal<-nsignal+nnoise
x<<-NULL
y<<-NULL
x.temp<-0
y.temp<-0
#generate noise dots
nx1<-runif(nnoise,0,4095)
nx2<-runif(nnoise,0,4095)
ny1<-runif(nnoise,0,4095)
ny2<-runif(nnoise,0,4095)
#generate signal dots
sx1<-runif(nsignal,0,4095)
sx2<-sx1
sy1&l...
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
...g if there is a way to get rid of the for loop.
I am dealing with "interaction" in 2x2 table, and am using Edwards's G_I
(Likelihood, p. 194).
I label the cells in the table as follows
stim response
"y" "n" total
--------------------------------
y hit miss nsignal
--------------------------------
n false correct nnoise
alarm rejection
---------------------------------
Gsens<-function(nhit,nmiss,nfa,ncr)
{
# Edwards's G_I, measure of interaction, is measure of sensitivity
(xlogx(nhit)+xlogx(nmiss)+xlogx(nfa)+xlogx(ncr))-(xlogx(nhit+nmiss)+xlogx(nf...
2012 Sep 04
4
[LLVMdev] Clang/llvm performance tests on FreeBSD 10.0-CURRENT
...0 0 0 0
oublock 6 2058 2106 2103 2081.3333 25.216397
msgsnd 6 18 18 18 18 0
msgrcv 6 0 0 0 0 0
nsignals 6 1878 1878 1878 1878 0
nvcsw 6 16288 16357 16333 16320.667 29.615311
nivcsw 6 2071535 3998751 3057756 2966314 635381.66
Using clang 3.2:
----------------
N Min...
1998 Jul 09
1
numeric(0) -> NA
...it, but maybe it is the way it is supposed to be. I would
prefer for it to stay numeric(0).
I notice also
> ceiling(runif(0,0,4095))
numeric(0)
> floor(runif(0,0,4095))
numeric(0)
which leads me to thing round() is not working right.
I have some code like this:
do.sim<-function(nnoise, nsignal, jump)
{
ntotal<-nsignal+nnoise
x<-numeric(ntotal)
y<-numeric(ntotal)
#generate noise dots
nx1<-round(runif(nnoise,0,4095))
nx2<-round(runif(nnoise,0,4095))
ny1<-round(runif(nnoise,0,4095))
ny2<-round(runif(nnoise,0,4095))
#generate signal dots
sx1<-round(runif(nsignal,0,4...
2007 Feb 13
6
mongrel_cluster 0.2.2 - plugin cluster::status does not exist?
Hello all. I''ve recently installed the 0.2.2 pre-release of
mongrel_cluster to try out the new --clean option. However, after
installing, when I give a simple "mongrel_rails" command, the
cluster::status command is not listed. The error I receive when I do
try and run the full "mongrel_rails cluster::status" is...
ERROR RUNNING