search for: 3,6

Displaying 20 results from an estimated 407 matches for "3,6".

Did you mean: 1,6
2003 Aug 13
2
^-operation exponentiation problem
Hi, There seems to be a problem with the power-operation of the form c(..., -a, ...)^x.yyy Four code examples for the same calculation, which perform differently: -3^3.2 Result: [1] -33.63474 c(-3,6)^3.2 Result: [1] NaN 309.0893 But: c(-3.62,3)^3 Result: [1] -47.43793 27.00000 I can reproduce NaN even in the following calculation: c(-3,6)[1]^3.2 Result: [1] NaN but c(-3,6)[2]^3.2 Result: [1] 309.0893 Does anybody know this problem and a solution to it...
2015 May 14
3
comportamiento de data.table al hacer calculos por grupos
...e ayuden mucho en la web. Estoy haciendo calculos por grupos con data,table. Tengo un archivo (zp.res) con tres columnas que clasifican los datos (sol, con, dia) y una columna de datos numericos (media), de la siguiente forma: sol con dia media 1: con 0 1 -22.6 2: con 0 1 -36.6 3: con 0 1 -35.6 y quiero calcular el promedio de "media" (la col 4) agrupando con las variables sol,con,dia. Lo hago de la siguiente forma: med <- zp.res[, mean(media), by="sol,dia,con"] cuando reviso "med" esta todo bien, se han calculado las medias...
2015 Jun 30
2
Call for testing: OpenSSH 6.9
On Tue, 30 Jun 2015, Damien Miller wrote: | I think we should just disable the test if the host doesn't support IPv6. | | diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh | index 7f377d8..e19b4d0 100644 | --- a/regress/cfgparse.sh | +++ b/regress/cfgparse.sh | @@ -3,6 +3,12 @@ | | tid="co...
2009 May 18
4
MAC OSX vs Win XP: Different stats test results!
Hi all, I wondered whether anyone has some advice on a stats-related 'sanity check', as I ran a nonparametric multivariate test (mulrank function as decribed by R. Wilcox, 2005) on both systems, but got different results (please see below for the system-specific outputs)! The functions I used are attached as well. Any advice would be much appreciated! Thanks in...
2014 Nov 24
2
Yum installed perl on CentOS 5.11 64 bit
Am 24.11.2014 um 13:35 schrieb Johnny Hughes <johnny at centos.org>: > On 11/23/2014 10:23 AM, Niamh Holding wrote: >> >> Hello Centos, >> >> Is 4:perl-5.8.8-43.el5_11.x86_64 really dependent on the 32 bit perl.i386 >> 4:5.8.8-43.el5_11 as yum is suggesting, or has something g...
2008 Sep 21
1
Searching a relativ maximum of a matrix
Hello R users, is there a possibility to get the relativ maximum of a matrix? To get the absolut maximum I use max(matrix) For example: The absolut maximum of this matrix is 6[3,6], but the relativ maximum is 6[3,6] and 4[7,6], because both values are the highest value in comparison to their eight neighbours values. [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 1 1 2 2 2 1 1 2 [2,] 1 2 3 3 3 4 4 3 [3,] 3 3 3...
2010 Nov 08
4
Create Matrix of 2 Dim from two vectors
Hello, I have two data. x<-c(1, 2, 3) y<-c(4,5,6) How do i create matrix of 3 by 3 from this two, such that (1,4) (1,5) (1,6) (2,4) (2,5) (2,6) (3,4) (3,5) (3,6) I tried some thing like this: xy <- as.data.frame(c(0,0,0), dim=c(3,3)) for(i in 1:3) for(j in 1:3) xy[i][j]<-c(x[i],y[j]) but i got errors..!!!! a...
2002 Nov 08
2
2.4.18 ext3 problems
Hi, Gettings lots of nasty ext3 errors, as follows: attempt to access beyond end of device 03:06: rw=0, want=1989391900, limit=55167178 EXT3-fs error (device ide0(3,6)): ext3_free_branches: Read failure, inode=10092558, block=-1113264762 - several thousand of these in the course of a few seconds And lots of these: EXT3-fs err...
2015 Jun 30
2
Call for testing: OpenSSH 6.9
On Tue, 30 Jun 2015, Damien Miller wrote: | On Mon, 29 Jun 2015, Tim Rice wrote: | | > On Tue, 30 Jun 2015, Damien Miller wrote: | > | > | I think we should just disable the test if the host doesn't support IPv6. | > | | > | diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh | >...
2002 Mar 20
1
privsep
i think our strategy for privsep is to just keep portable sync'd closely with openbsd's tree, even though things will be broken wrt privsep for many platforms. then we just get primary one's working and work out issues as we go along. i'll start to work on sun and hp-ux again tomorrow.
2006 Jul 15
1
Some problems with latex(ftable)
...tcars$gear, row.vars = c(2, 4), dnn = c("Cylinders", "V/S", "Transmission", "Gears")) print.default(tmp) To get what you are looking for, you will need to intercept write.ftable with, for example, trace(write.ftable, exit=recover) then do 3 tmp.latex <- latex(t(x)) print.default(tmp.latex) Now open up t.latex and prepend \documentstyle{article} \begin{document} and append \end{document} then latex it. This gets you close to what you want and you can work with the generated t.tex file to get the rest of the detail. Or you can w...
2005 Aug 29
2
reexpand a matrix after subsetting
Hi, suppose I have a matrix (or dataframe) as a result from subsetting. mat <- matrix(1:20,ncol=2) mat[c(3,6,9),] <- NA cc <- complete.cases(mat) sub <- mat[cc,,drop=FALSE] sub <- sub * 2 #some caluculations with sub. now I would like to expand sub somehow so row 3,6, and 9 would be filled with NAs but the rest should be in place again. Is there a simple function for this? merge is not an...
2007 Mar 27
2
Newbie: Combn and scripting
Hello All, I have just installed my R 2.4 (windows) as a test trying to load a data frame and run combn() for each line into another file. How do I do this? data.csv: a,b,c,d 1,2,3.4 g,3,6,t etc x=data.csv, m=3 Thank you Zam _________________________________________________________________________________ This email contains confidential information intended only for the person named above and may be subject to legal privilege. If you are not the intended recipient, an...
2010 Jul 29
2
Using '[' as a function
...ing to better understand the language in order to improve my programming. So any "meta-information" on why the following code works would be greatly appreciated... I obtained this code to extract the first record from each of a series of vectors in a list: >example<- list(c(1,2),c(3,4),c(4,5)) [[1]] [1] 1 2 [[2]] [1] 3 4 [[3]] [1] 4 5 >sapply(example,'[',1) [1] 1 3 4 however, after perusing my book and the interweb, i remain puzzled about how '[' works as a function in sapply. -Why does R recognize '[' as a function? -Why does it need the q...
2007 May 16
1
lmer error confusion
Hi All. I'm trying to run a simple model from Baayan, Davidson, & Bates and getting a confusing error message. Any ideas what I'm doing wrong here? # Here's the data..... Subj <- factor(rep(1:3,each=6)) Item <- factor(rep(1:3,6)) SOA <- factor(rep(0:1,3,each=3)) RT <...
2010 Apr 05
2
find the "next non-NA" value within each row of a data-frame
#I wish to find the "next non-NA" value within each row of a data-frame. #e.g. I have a data frame mydata. Rows 1, 2 & 3 have soem NA values. mydata <- data.frame(matrix(seq(20*6), 20, 6)) mydata[1,3:5] <-  NA mydata[2,2:3] <-  NA mydata[2,5] <-  NA mydata[3,6] <-  NA mydata[1:3,] #this loop accomplishes the task; I am tryign toi learn a "better" way for(i in (ncol(mydata)-1):1 ){ mydata[,...
2014 Nov 23
4
Yum installed perl on CentOS 5.11 64 bit
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Centos, Is 4:perl-5.8.8-43.el5_11.x86_64 really dependent on the 32 bit perl.i386 4:5.8.8-43.el5_11 as yum is suggesting, or has something got mixed up on the system? yum install perl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: repo.bigstepcloud.com * epel: mirror.bytemark.co.uk * ex...
2012 Sep 10
2
pairwise comparisions
Hi , I am new to R . I am facing difficulty how to make pairwise comparisions. For example. I have a file which looks like below a b c d x 3 6 7 6 y 7 8 6 5 z 5 4 7 8 Here I need to look for the each pairwise comparisions (ab,ac,ad,bc,bd,cd for each row) For instance ,looking at first row, for x i need to look for ab values and take the min(3,6) >5 ,if its satistfies the count should be noted, (now count is 0), bc values ,min(6,7)...
2018 Jul 05
4
[PATCH] v2v: Preserve VM Generation ID (RHBZ#1598350).
virt-v2v moves guests, it doesn't clone them. Therefore we should try to preserve the VM Generation ID (genid) as much as possible. This has the ability to read the genid from VMware VMX files and libvirt XML (but note RHBZ#1598348). It can also write the genid to libvirt (‘-o libvirt’, ‘-o local’) and QEMU (‘-o qemu’). We a...
2014 Feb 14
2
[LLVMdev] DominatorTree not updated properly after calling the llvm::SplitBlock.
Hi Fellows, I am writing a pass that requires the DominatorTree pass. In the runOnFunction of my own pass, I call llvm::SplitBlock to split a block (%for.end) at it's first insert point. Then, when I dump my dominator tree immediately after, I can see the newly split %for.end.split, but its DFSNumIn and DFSNumOut are not properly updated in llvm::SplitBlock (i.e., still the initialized -1). At the same time, the DT->dump() results also show that DFSInfoVal...