search for: all1

Displaying 14 results from an estimated 14 matches for "all1".

Did you mean: all
2009 Sep 29
2
rbind for a list
Dear All, I´m using the following code: all1<-gg2[[1]][[1]]; for(i in 1:48){ all1 <- rbind(all1,gg2[[i]][[1]]) } to create a new matrix that contains all the matrices in a list called gg2. gg2 is a list that looks like >> gg2 [[1]] [[1]][[1]] <matrix one> [[2]] [[2]][[1]] <matrix two> . . . [[48]] [[48]][[1]] <ma...
2012 Nov 26
1
A problem subsetting a data frame
...t (ALL) from which I would like to subset or extract a set of data based on a factor ($mol.biol). I looked up some example of subsetting in, picked up two commands and tried both but I got error messages as follows > testset <- subset(ALL, ALL$mol.biol %in% c("BCR/ABL","ALL1/AF4")) >> Error in c("BCR/ABL", "ALL1/AF4") : unused argument(s) ("ALL1/AF4") > testset <- ALL[ALL$mol.biol %in% c("BCR/ABL,NEG"), ] >> Error in ALL[ALL$mol.biol %in% c(BCR/ABL, NEG), ] : > >> error in evaluating the a...
2013 Apr 03
5
Can package plyr also calculate the mode?
I am trying to replicate the SAS proc univariate in R. I got most of the stats I needed for a by grouping in a data frame using: all1 <- ddply(all,"ACT_NAME", summarise, mean=mean(COUNTS), sd=sd(COUNTS), q25=quantile(COUNTS,.25),median=quantile(COUNTS,.50), q75=quantile(COUNTS,.75), q90=quantile(COUNTS,.90), q95=quantile(COUNTS,.95), q99=quantile(COUNTS,.99) ) So I got the mean, median std dev,...
2012 Aug 31
2
Conditional merging in R & if then statement
...create table detail2 as select a.* from detail a, pdetail b where a.TDATE=b.TDATE and (a.STIM >= b.STIM and a.STIM <=b.MAXTIM) 2) when try if then in R it only applies to the 1st row & not to whole dataset like in SAS. How do you get round that? in SAS: data summary; set all1; if entry='a:prop' then pctexec=stkful/stocks*100; run; Thanks in advance for your help. -- View this message in context: http://r.789695.n4.nabble.com/Conditional-merging-in-R-if-then-statement-tp4641936.html Sent from the R help mailing list archive at Nabble.com.
2016 Oct 20
2
[AVX512BW] Nasty KAND issue
...type is also 4b, but it's not. The smallest mask register on SKX is 8b. This also implies that the smallest load/store moves 8b. We run into problems when we try to optimize ANDs (full test case attached): %r1 = and <4 x i1> %r0, <i1 -1, i1 -1, i1 -1, i1 -1> At the IR level the all1s mask looks like the Identity for this operation, so LLVM will remove it. But it is not the Identity since this operation should clear the top 4 bits of the 8 bit hardware register in play. E.g. kmovb -4(%rsp), %k0 kandb %k0, %k1, %k0 kmovb %k0, -4(%rsp) I began trac...
2011 Dec 12
0
Rsolnp package: warning messages
...############################## ################################################################### ## MAX FUNCTION budget=2 library(Rsolnp) # the objective function to maximize #NOTE: by default the solver minimizes the objective. therefore the original minus sign is not used obj=function(x){ all1=sum(mat%*%x) Hp=0 for (j in 1:BR){ p_b=mat[j,]%*%x/all1 Hp=Hp+p_b*log(p_b)*br[j] } return(Hp) } # the equality constraint function: equal1=function(x){ all2=sum(mat%*%x) sum_pterm=sum(mat[1:N,]%*%x/all2) sum_x=sum(x) return(c(sum_pterm,sum_x)) } # the right hand side for the constraint eqB=c(1...
2012 Dec 11
1
Interpretation of ranef output
...t) Aa-0 0.59679192 0.34824858 2.241424479 -2.335037842 0.775359364 Ag-0 -2.73719135 2.10428715 -0.980046942 -1.832587350 -1.938942967 Ak-1 -0.13221525 1.03282635 -0.624239559 1.594044342 0.313188938 Alc-0 1.16506640 -0.05914007 1.964024728 -1.133954211 1.190791025 ALL1-2 -1.06702524 -0.55728016 -0.019232427 -2.389703709 -1.357733079 Alst-1 -1.59281754 0.23968834 -1.506568899 -0.280839171 -1.558589679 Amel-1 0.46083213 -0.02787653 0.885634543 -0.632460142 0.469048098 So...3 intercepts and two values for the interaction terms. My questions are: Whic...
2011 Jul 21
1
Error: bad index in plotmo functions for MARS model (package earth)
...; nir <- gasoline$NIR > dim( nir ) [1] 60 401 > class( nir ) [1] "AsIs" > > oct <- gasoline$octane > > mars <- earth( oct ~ nir, nk=300, nfold=10, degree=3, trace=0 ) > > plotmo( mars ) Error: bad index (missing column in x?) > plotmo( mars, all1=T ) Error: bad index (missing column in x?) > plotmo( mars, all1=T, all2=T ) Error: bad index (missing column in x?) > > sessionInfo() R version 2.13.1 (2011-07-08) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Portuguese_Brazil.1252 LC_CTYPE=Portuguese_Brazil.1252...
2016 Oct 20
2
[AVX512BW] Nasty KAND issue
...er on SKX is 8b. This also implies that the >> smallest load/store moves 8b. >> >> We run into problems when we try to optimize ANDs (full test case attached): >> >> %r1 = and <4 x i1> %r0, <i1 -1, i1 -1, i1 -1, i1 -1> >> >> At the IR level the all1s mask looks like the Identity for this >> operation, so LLVM will remove it. But it is not the Identity since >> this operation should clear the top 4 bits of the 8 bit hardware >> register in play. E.g. > > No, this operation alone does not need to clear the upper bit, they...
2016 Oct 20
2
[AVX512BW] Nasty KAND issue
...gt; smallest load/store moves 8b. >>>> >>>> We run into problems when we try to optimize ANDs (full test case attached): >>>> >>>> %r1 = and <4 x i1> %r0, <i1 -1, i1 -1, i1 -1, i1 -1> >>>> >>>> At the IR level the all1s mask looks like the Identity for this >>>> operation, so LLVM will remove it. But it is not the Identity since >>>> this operation should clear the top 4 bits of the 8 bit hardware >>>> register in play. E.g. >>> No, this operation alone does not need t...
2015 Mar 24
4
Aleatoriedad
Hola de nuevo, ya empiezo a ser pesado ¿no? bueno, no importa porque aprendemos todos. Eso, al menos, me parece. Hoy estuve estudiando en R el tema de la aleatoriedad. Veo que hay múltiples posibilidades pero me están chocando mucho. Encuentro que el generador de números pseudo aleatorios es más pseudo de lo que debería. Me explico, quiero generar 0 y 1 aleatorios. Estoy trabajando con una
2013 Apr 03
1
Select single probe-set with median expression from multiple probe-sets corresponding to same gene -AFFY
Hello All, I need your help. I am analysing affymetrix data and have to select the probe-set that has median expression among all the probe-sets for same gene. This way I want to remove the redundancy by keeping the analysis to single gene entry level. I am fully aware that it is not a nice thing to do but I just have to do it. To do so, I came across 'findLargest' function of
2003 Feb 10
2
problems using lqs()
Dear List-members, I found a strange behaviour in the lqs function. Suppose I have the following data: y <- c(7.6, 7.7, 4.3, 5.9, 5.0, 6.5, 8.3, 8.2, 13.2, 12.6, 10.4, 10.8, 13.1, 12.3, 10.4, 10.5, 7.7, 9.5, 12.0, 12.6, 13.6, 14.1, 13.5, 11.5, 12.0, 13.0, 14.1, 15.1) x1 <- c(8.2, 7.6,, 4.6, 4.3, 5.9, 5.0, 6.5, 8.3, 10.1, 13.2, 12.6, 10.4, 10.8, 13.1, 13.3, 10.4, 10.5, 7.7, 10.0, 12.0,
2011 Dec 16
5
[Bug 8666] New: --debug=all9 fail
https://bugzilla.samba.org/show_bug.cgi?id=8666 Summary: --debug=all9 fail Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: chris at onthe.net.au QAContact: rsync-qa at