similar to: What is the equivalent of column.prods() from S in R?

Displaying 20 results from an estimated 8000 matches similar to: "What is the equivalent of column.prods() from S in R?"

2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods. I have this function : setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")}) setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) { ... ... ... })
2010 Aug 15
3
Rows index/colProds
Hi, Is there any function to replace colProds that finds column-wise products of a matrix? Or is there any other function that would give a better solution this problem ? I have a matrix and an array, example: > a GSM1.CEL GSM2.CEL GSM1.CEL 10000_at 1 3 1 10001_at 3 3 3 > b 10000_at
2012 Feb 20
2
Column wise matrix multiplication
Hi all, I am trying to multiply each column of a matrix such to have a unique resulting vector with length equal to the number of rows of the original matrix. In short I would like to do what prod(.) function in Matlab does, i.e. A <-matrix(c(1:10),5,2) V = A[,1]*A[,2] Thank you Graziano [[alternative HTML version deleted]]
2013 Sep 02
3
Product of certain rows in a matrix
Hi, You could try: A<- matrix(unlist(read.table(text=" 1 2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1 ",sep="",header=FALSE)),ncol=3,byrow=FALSE,dimnames=NULL) library(matrixStats) ?res1<-t(sapply(split(as.data.frame(A),as.numeric(gl(nrow(A),2,6))),colProds)) ?res1 #? [,1] [,2] [,3] #1??? 4?? 10?? 18 #2?? 63?? 64?? 63 #3?? 18?? 10??? 4
2010 Oct 24
1
140 packages in R Commander!!
Dear List I just downloaded and installed R 2.12.0 and then installed R Commander . First it got RCmdr and Car, and then suggested for other packages for utilizing the full functionality- I clicked yes! I got 140 packages installed!!! Cran Mirror was UCLA... Here is the list. Is this intentional- I can see some packages like snow and multicore which are desirable but quite optional.(see list
2010 Sep 14
1
ASA John M. Chambers Statistical Software Award - 2011
John M. Chambers Statistical Software Award - 2011 Statistical Computing Section American Statistical Association The Statistical Computing Section of the American Statistical Association announces the competition for the John M. Chambers Statistical Software Award. In 1998 the Association for Computing Machinery presented its Software System Award to John Chambers for the design and development
2012 Mar 24
2
RC / methods package
(I think this is being caused by the new methods package in RC.) In the RC (March 24) some of my packages are generating a Note Note: Method with signature "MySQLConnection#integer" chosen for function "coerce", target signature "TSMySQLConnection#integer". "dbObjectId#integer" would also be valid This is coming from a call to dbGetQuery() in package
2010 Jan 21
2
What is the difference between S and R?
On Thu, Jan 21, 2010 at 9:07 AM, Giovanni Petris <GPetris at uark.edu> wrote: > > I have found a good refernce to be "S Programming" by Venables and > Ripley. I'll take a look at this book. Since S and R are not completely the same, there are delicate differences between S and R, which an S book may be confusing if I want to learn R. One example is Statistical Models
2007 Jul 04
0
[LLVMdev] Accessing/Loading a new pass
On Wed, 4 Jul 2007, Ben Chambers wrote: > Ah, I was missing that include/llvm/LinkAllPasses.h change. Thanks! > Now I have it working, except for the fact that it doesn't seem to > generate fresh names for things. Or if it does, they're the empty > string (I suspect it is the latter, since when I create the new > instruction the empty string is passed in for the name of
2017 Oct 18
1
2018 ASA Computing/Graphics: Chambers Software Award and Student Paper Competition
Dear R-help Listers, The following two student competitions are of interests to the now many student R package developers. I'd appreciate your help in spreading them. #1. John M. Chambers Statistical Software Award 2018 The Statistical Computing Section of the American Statistical Association announces the competition for the John M. Chambers Statistical Software Award. In 1998 the
2007 Jul 04
2
[LLVMdev] Accessing/Loading a new pass
Ah, I was missing that include/llvm/LinkAllPasses.h change. Thanks! Now I have it working, except for the fact that it doesn't seem to generate fresh names for things. Or if it does, they're the empty string (I suspect it is the latter, since when I create the new instruction the empty string is passed in for the name of the instruction). Is there some way to get a new name (like
2004 Jun 26
1
S4 group "Math", "getGroupMembers", "genericForPrimitive"
Hi, I found the following on Windows 2000/NT R Version 1.9.1 (2004-06-21) (also Version 1.9.0): The S4 group "Math" doesn't work as documented; i.e., "log", "log10", "gamma" and "lgamma" are included in the documentation but don't work. See example code below. Moreover, what about 'genericForPrimitive' which is used in
2004 Aug 20
2
The "Green" Book?
I am new to R and am currently gathering reference books. In 'An Introduction to R' I have read the following: "For R, the basic reference is 'The New S Language: A Programming Environment for Data Analysis and Graphics' by Richard A. Becker, John M. Chambers and Allan R. Wilks. The new features of the 1991 release of S (S version 3) are covered in 'Statistical Models in
2009 Oct 06
1
Is there a recent book on Q-Q plot and data visualization in general?
Hi, I want to look for some detailed explanation on the properties of Q-Q plot and how the properties are derived. In R, there is the following reference. Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole. Somebody also mentioned the following book chapter to me. Chambers et al., Graphical methods for Data Analysis, Ch.6. But both books are
2008 Jul 30
2
john chambers R book
Just to let everyone know: John Chambers R book is no longer at pre-order status on Amazon which is a good thing. The only problem is that now it is temporarily out of stock. There must have been many pre-orders so now I'm kicking myself for not having done that. Mark
2008 Feb 25
1
how to write dput-able objects
Hi, One way of doing object-oriented programming in R is to use function environment to hold object's data, see for example @Article{Rnews:Chambers+Lang:2001a, author = {John M. Chambers and Duncan Temple Lang}, title = {Object-Oriented Programming in {R}}, journal = {R News}, year = 2001, volume = 1, number = 3, pages = {17--19},
2007 Jul 04
0
[LLVMdev] Accessing/Loading a new pass
On Wed, 4 Jul 2007, Ben Chambers wrote: > Ok. So I took the source code from 1.5 for the LowerConstantExprs > pass and (hopefully) corrected all the bitrot. It now compiles. But > opt doesn't see it (when I run Release/bin/opt --help it doesn't show > up). So, I copy the Transform/Hello directory and compile it as a > dynamically loaded pass. When I run Release/bin/opt
2006 Jun 12
2
Chapters
I'm surprised this isn't a FAQ, but I searched all over and could not find a reference to it. Chambers (1998) makes repeated references to "Chapters" in S (e.g., p. 6), but I can find no reference to "Chapters" in R. Since Chapters were not used in earlier versions of S, I'm wondering if R uses them or not. If it does, how does one get them to work? I've
2001 Nov 30
1
passwd chat problem
I could not find any reference to this in the list archive. I am setting up SAMBA on an IRIX system. The passwd command does not say "Password changed" or similar at the end, it just ends. However, if the command fails for any reason (unable to get a lock on the passwd file, for example) it does report that. My problem is that I cannot see any way to get the passwd chat string to
1999 Jun 29
3
S v. 5
Does R, or will R, be integrating the changes to the Chambers/Lucent S language under their version 5.0? If not already, then when? John Thaden Little Rock, Arkansas, USA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe"