search for: ab2

Displaying 20 results from an estimated 27 matches for "ab2".

Did you mean: a2
2007 Mar 29
1
ansari.test.default: bug in call to uniroot?
...rnorm(100), rnorm(100, 0, 2), conf.int = TRUE) Error in uniroot(ab, srange, tol = 1e-04, zq = qnorm(alpha/2, lower = FALSE)) : object "ab" not found It looks like there's a small typo in ccia() inside ansari.test.default() in which 'ab' is passed to uniroot rather than 'ab2'. The definition of ccia below was just copied from https://svn.r-project.org/R/trunk/src/library/stats/R/ansari.test.R ccia <- function(alpha) { ## Check if the statistic exceeds both quantiles ## first. statu <- ab2(srange[1], zq=qnorm(alpha/2)) statl <- ab2(sran...
2013 Mar 11
2
how to convert a data.frame to tree structure object such as dendrogram
I have a data.frame object like: > data.frame(x=c('A','A','B','B'), y=c('Ab','Ac','Ba','Bd')) x y 1 A Ab 2 A Ac 3 B Ba 4 B Bd how could I create a tree structure object like this: |---Ab A---| _| |---Ac | | |---Ba B---| |---Bb Thanks, Zech [[alternative HTML version deleted]]
2012 Mar 04
1
Could not compute QR decomposition of Hessian.
..., var.names = vars, : Could not compute QR decomposition of Hessian. Optimization probably did not converge. ######### Model ######## mDPDF = data.frame(mj1,mj2,mj3,mj4,mj5,eL1,eL2,eL3,eL4,eL5,aC1,aC2,aC3,aC4,disR1,disR2,disR3,disR4,disR5, difR1,difR2,difR3,difR4,difR5,difR6,dC1,dC2,dC3,dC4,aB1,aB2,aB3,aB4,aB5,deh1,deh2,deh3,deh4) mydata.cov <- cov(mDPDF) model.mydata <- specify.model() MJ -> mj1, NA, 1 MJ -> mj2, lam2, NA MJ -> mj3, lam3, NA MJ -> mj4, lam4, NA MJ -> mj5, lam5, NA EL -> eL1, NA, 1 EL -> eL2, lam7, NA EL -> eL3, lam8, NA EL -> eL4, lam9, NA EL...
2009 Sep 11
1
help in matching two column vectors
...positions of the second vector where a match is absent. With a simple example, I will explain my problem. (a<-1:6) (b<-c(5,2)) (m1<-match(a,b)) (ab<-cbind(a,m1)) m2<-numeric(length(m1)) for (i in 1:length(m1)) {m2[i]<-ifelse(is.na(m1[i]),NA,b(m1[i]))} # what I want to get - ab2 (shown below) bsub<-c(NA,2,NA,NA,5,NA) # hoped to get this from m2 via the for loop above (non NA elements from the b vector) (ab2<-cbind(a,bsub)) I get an error message that the function b is not found. How do I define this function? Are there any other simpler methods for achieving my fina...
2011 Aug 16
2
merge(join) problem
...owever, I don't see an easy way to do it in R. The obvious intermediary step is AB1 <- merge(A, B, all.x = TRUE, all.y = FALSE, by = 'Name') Now, AB1 has many rows with the same Name and Open. I need to drop all of them except for the one with the largest Time <= Open. I can do AB2 <- AB1[which(AB1$Time <= AB1$Open),] Now I need to keep just _one_ row with the same Name & Open - and the largest Time. How do I do that? unique() seems to have the right name, but I don't see how it can help me... tia. -- Sam Steingold (http://sds.podval.org/) on CentOS releas...
2007 May 25
1
Problem with accessing internal variable in package.
...variables are for internal use by functions. Functions are ment to be callable by a user. However, the function cannot access these variables. The package contains only R code, and was created using package.skeleton package.skeleton(name="ac9", list=c(ls(pattern="(AB2)|(ac9)"), "Chl","Pro","LP","SP","syn","unk","Y","Nh", "plot.C","read.AC9.data","EstimC","plot.AC9"), namespa...
2012 Oct 07
1
two indirect effects of path analysis
Hello, This is Elaine. I am trying a path analysis using lavaan Package. There are three explanatory variables: X, Z, and M. The response variable is Y. A, b, and c have direct effects on Y. On the other hand, X and Z also have direct effects on M. In other words, X and Z have indirect effects on Y. I found the code example of lavaan package describes only one indirect effect as below. Please
2012 Oct 26
1
Openbugs- Array Index
...[i],2) } for(i in 1:(S+m)){ for(j in 1:4){ A1[i,j] <- A[i,j]*G1[i] A2[i,j] <- A[i,j]*G2[i] O[i,j] <- step(A[i,j]-1)# latent occupancy of each species for each site O1[i,j] <- O[i,j]*G1[i] O2[i,j] <- O[i,j]*G2[i] } } for(j in 1:4){ AB0[j] <- sum(A[,j]) AB1[j] <- sum(A1[,j]) AB2[j] <- sum(A2[,j]) SpR0[j] <- sum(O[,j]) SpR1[j] <- sum(O1[,j]) SpR2[j] <- sum(O2[,j]) } for(i in 1:2){ for(j in 1:4){ HabAB0[i,j] <- AB0[hab[i,j]] HabAB1[i,j] <- AB1[hab[i,j]] HabAB2[i,j] <- AB2[hab[i,j]] HabSpR0[i,j] <- SpR0[hab[i,j]] HabSpR1[i,j] <- SpR1[hab[i,j]] HabS...
2007 Mar 24
2
Mongrel Performance Tuning questions
Hi all, Starting out with load testing for one of my rails apps and am pretty confused about what the ''best'' way to do this is. I read the tuning article at http://mongrel.rubyforge.org/docs/how_many_mongrels.html but am getting some weird numbers from the tests recommended at the bottom: httperf --server www.theserver.com --port 80 --uri /tested --num-conns <10 second
2003 Jun 18
5
CAC Access Bank
I just picked up a couple CAC Access Bank 1s loaded with FXS that should be arriving shortly. Does anyone have one that they use with Asterisk? If so, would you be willing to shoot me a note with your current configs? I'm not very familiar with CAC/etc, and it would save me countless hours of muddling through .. :) Any others tips you can give me on these banks would be very
2012 Jul 13
3
Help with R2 OpenBUGs
...or(i in 1:(S+m)){ for(j in 1:20){ A1[i,j] <- A[i,j]*G1[i] A2[i,j] <- A[i,j]*G2[i] O[i,j] <- step(A[i,j]-1) # latent occupancy of each species for each site O1[i,j] <- O[i,j]*G1[i] O2[i,j] <- O[i,j]*G2[i] } } for(j in 1:20){ AB0[j] <- sum(A[,j]) AB1[j] <- sum(A1[,j]) AB2[j] <- sum(A2[,j]) SpR0[j] <- sum(O[,j]) SpR1[j] <- sum(O1[,j]) SpR2[j] <- sum(O2[,j]) } for(i in 1:3){ for(j in 1:7){ HabAB0[i,j] <- AB0[hab[i,j]] HabAB1[i,j] <- AB1[hab[i,j]] HabAB2[i,j] <- AB2[hab[i,j]] HabSpR0[i,j] <- SpR0[hab[i,j]] HabSpR1[i,j] <- SpR1[hab[i...
2005 Nov 22
1
User and Groups Problem with ADS (Win2003) and Solaris 10
...fter_close = false minimum_uid = 0 debug = false } kinit = { renewable = true forwardable= true } gkadmin = { help_url = http://docs.sun.com:80/ab2/coll.384.1/SEAM/@AB2PageView/1195 } /etc/nsswitch.conf includes the following entries: passwd: files winbind nis group: files winbind nis hosts: files dns nis
2011 Jul 13
1
Samba 3.5.9 with Windows 2008 R2
...1d # how many versions of kdc.log to keep around (kdc.log.0, kdc.log.1, ...) versions = 10 } [appdefaults] kinit = { renewable = true forwardable= true } gkadmin = { help_url = http://docs.sun.com:80/ab2/coll.384.1/SEAM/@AB2PageVi ew/1195 }
2001 Aug 20
4
[PATCH] some patches for Fujitsu-Siemens ReliantUNIX, minor fixes and XXXes
...;s beyond my understanding of autoconf. BTW: Why does autoconf-2.50 bounce on configure.in? - --with-mantype configure tells about --with-mantype, but checked for --with-catman - /etc/default/login There is a file /etc/default/login on Solaris 2.x and ReliantUNIX. See http://docs.sun.com/ab2/coll.40.6/REFMAN1/@Ab2PageView/171170 for a description. It handles things like setting a different PATH for root and normal users at login time, quite a convenient feature for administrators. This was handled in SSH 1 since at least 1998. I rewrote some of the old code to gather at least PATH...
2006 Oct 27
0
VGAM package released on CRAN
...tion (MLE) or penalized MLE. Also fits constrained ordination models in ecology. URL: http://www.stat.auckland.ac.nz/~yee/VGAM Index: AA.Aa.aa The AA-Aa-aa Blood Group System AB.Ab.aB.ab The AB-Ab-aB-ab Blood Group System AB.Ab.aB.ab2 The AB-Ab-aB-ab2 Blood Group System ABO The ABO Blood Group System acat Ordinal Regression with Adjacent Categories Probabilities benini Benini Distribution Family Function betaII Beta Distri...
2003 Nov 19
1
Samba 3.0 client connection error
...ten than the period, and less often if the KDC is not used # frequently. period = 1d # how many versions of kdc.log to keep around (kdc.log.0, kdc.log.1, ...) versions = 10 } [appdefaults] kinit = { renewable = true forwardable= true } gkadmin = { help_url = http://docs.sun.com:80/ab2/coll.384.1/SEAM/@AB2PageView/1195 } Thanks Tommy Fallsen
2009 Feb 26
0
How do I retrieve column and row names after comparing two matrices?
...w: Matrix 1 ID AB1 BC1 CD1 ... name1 1,1 2,1 0,2 ... name2 2,0 1,2 1,2 ... name3 0,2 1,1 2,0 ... name4 2,0 0,2 0,2 ... Matrix 2 ID AB2 BC2 CD2 ... name1 1,1 2,1 0,2 ... name2 2,0 1,2 1,2 ... name3 0,2 1,0 2,0 ... name4 2,0 0,2 0,2 ... Comparison of both matrices reports a unique difference ba...
2002 May 20
0
[Bug 252] New: Patch for use of /etc/default/login
...Status: NEW Severity: enhancement Priority: P4 Component: sshd AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: Robert.Dahlem at siemens.com There is a file /etc/default/login on Solaris 2.x and ReliantUNIX. See http://docs.sun.com/ab2/coll.40.6/REFMAN1/%40Ab2PageView/174009 (Sun likes to change URLs ... it's not more than 'man login') for a description. It handles things like setting a different PATH for root and normal users at login time and the umask setting, quite a convenient feature for administrators. Th...
2007 May 06
3
Channel Bank
Can someone recommend a good quality 24 or greater port channel bank? Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070506/e5896021/attachment.htm
2004 Jul 13
0
(no subject)
...d no more # often than the period, and less often if the KDC is not used # frequently. period = 1d # how many versions of kdc.log to keep around (kdc.log.0, kdc.log.1, ...) versions = 10 } [appdefaults] kinit = { renewable = true forwardable= true } gkadmin = { help_url = http://docs.sun.com:80/ab2/coll.384.1/SEAM/@AB2PageVi ew/1195 } Best regards, Hendrik Pieper