Displaying 2 results from an estimated 2 matches for "n_10".
Did you mean:
3_10
2000 Apr 07
4
Bug in qbinom? (PR#511)
n_10;p_0.5;jjx_0:n;qbinom(pbinom(jjx,n,p),n,p) # This one works as
expected
n_100;p_0.5;jjx_0:n;qbinom(pbinom(jjx,n,p),n,p) # This one causes
severe problems
I cannot interrupt using ESC and I finally have to resort to the Windows
Task manager to kill the R session.
A friend of mine told me that he...
1999 Jan 21
2
scoping problem?
...WIndows3.11
fnfn _ function (m=10,n=10,spar=2)
{
fn _ function(u,v){
uc_ u-floor(m/2)-1
vc_ v-floor(n/2)-1
exp(-(uc^2 + vc^2)/2/spar^2)
}
x1_ 1:m ; x2_ 1:n
x12 _ outer(x1,x2,FUN='fn')
filt _ x12/sum(x12)
image(filt)
}
> source('fnfn.r')
> m_10; n_10; spar_2
> fnfn(m,n,spar)
Error in get(x, envir, mode, inherits) : variable "fn" was not found
------------------------------
Yudi Pawitan: yudi at ucd.ie
Department of Statistics, UCD
Dublin 4, Ireland
Ph : 353-1-706 7641
Fax: 353-1-706 1186
------------------------------
-.-.-.-.-.-....