similar to: Obtaining replicates numbers of a vector

Displaying 20 results from an estimated 10000 matches similar to: "Obtaining replicates numbers of a vector"

2005 Jan 12
1
[survey] R for Reporting - the R Output MAnager (ROMA) project
Hi R UseRs, I am interested in providing Reporting abilities to R and have initiated a project called R Output MAnager (ROMA). My starting point was my R2HTML package which provides (rough) HTML exportations. I began with trying to mimic it for LaTeX but fastly did realize that it was a bad idea. Thus, I started again from scratch a new package and did spend a lot of time reading about this
2004 Oct 22
1
cor, cov, method "pairwise.complete.obs"
Hi UseRs, I don't want to die beeing idiot... I dont understand the different results between: cor() and cov2cov(cov()). See this little example: > x=matrix(c(0.5,0.2,0.3,0.1,0.4,NA,0.7,0.2,0.6,0.1,0.4,0.9),ncol=3) > cov2cor(cov(x,use="pairwise.complete.obs")) [,1] [,2] [,3] [1,] 1.0000000 0.4653400 -0.1159542 [2,] 0.4653400 1.0000000
2004 Jun 14
1
Copyright issues question
Hi to the Devel list, I am at present developping a little Excel add-in that would consist into a translation of John Fox RCommander package. The idea is to have R code that recreates within Excel the menus and some VBA part that handles data input and outputs (those beeing redirected to HTML and imported within Excel in a user-transparent way). Actualy, a first beyta version of this add-in
2011 Jun 14
1
Obtaining OLAP cubes using R
Hello All, I have a dataset and I wish to obtain all possible data cuboids from it using R . For eg if my data frame is : A B C 1 1 1 1 2 1 2 2 1 The output intended is : A=1 A=2 B=1 B=2 C=1 A=1,B=1 A=1,B=2 A=2,B=2 A=1,C=1 A=2,C=1 B=1,C=1 B=2,C=1 A=1,B=1,C=1 A=1,B=2,C=1 A=2,B=2,C=1 Are there any function(s) to do this in R ? I tried a combination of expand.grid and
2007 Dec 20
1
custom subset method / handling columns selection as logic in '...' parameter
Dear R-helpers & bioconductor Sorry for cross-posting, this concerns R-programming stuff applied on Bioconductor context. Also sorry for this long message, I try to be complete in my request. I am trying to write a subset method for a specific class (ExpressionSet from Bioconductor) allowing selection more flexible than "[" method . The schema I am thinking for is the following:
2002 Jun 20
1
Argument visible of addTaskCallback
Hello, I have a question about addTaskCallback It is said that the argument visible allows to know wether the result of the top-level evaluation was printed or not. Nevertheless, in the following example, I encountered a problem, as it seems not all printed objects are visible... Could someone tell me where is the tip? TIA
2004 Nov 24
1
Suggestions for packages / help / index (long mail)
Hi R-users and developers, This month may have seen one of the biggest thread never seen on R-related mailing lists, the one about "GPL software" and "hidden costs" (at this day, thread is still open - and active!). Lot's of mails in this thread are not really relevant to the original mail, send by Philippe Grosjean. Nevertheless, most of the mails are of interest and
2004 Nov 29
3
Differences between "$" and "[["
Hi, If I define the following list: > (l<-list("text-align"="right")) $"text-align" [1] "right" I know that I can't use l$text-align, as the parser will find a '-' operation. If I want (need) to use special names, as "text-align", I have to enclose it between "". So I can use: l$"text-align" or
2004 Nov 09
2
do.call invoking a function with multiple arguments
Hi users, I am not sure to understand the help page about do.call. -- do.call(what, args) args: a _list_ of arguments to the function call. The 'names' attribute of 'args' gives the argument names. -- If we take the following sample data: > (tab=as.data.frame(table(factor(1:10)))) Var1 Freq 1 1 1 2 2 1 3 3 1 4 4 1 5 5
2004 Nov 18
5
Lexical Scoping: eval(expr,envir=)
Hi R-listers, I am trying to better undertand what we would call "functional paradigm" use of S/R to better map my programming activities in other languages. This little function is aimed to create an object (at the end end, it would have it's own class): -- myObject =function(){ list( a=1, foo=function(b) { cat("b:",b)
2004 Jun 04
1
[Wish]: Add "..." argument to library function
Hello, I would find it very usefull to have the ability to load packages with options. Consider for example the SciViews package Philippe and me are working on. When loading on Windows, it automatically loads the associated GUI executable. It should be convenient to have an option not to load the exe but still have an access to the R functions of the package. For that, I think a simple change
2003 Feb 07
2
My remark on libraries
Hi R community, These days, I am writing some functions to work with 2-ways frequency tables ; you know all this tuff about measures of association: Chisq and derived (phi, cramer's v), tau b, tau c, somer's d and so on. So I consider all those functions could be gathered in a single R file, as they are coherent and dealing with the same problem / objective (analysis of crosstables).
2004 Sep 22
1
S4 methods and polymorophism
Hello R Power Users, There is a rather large introduction you may skip to go directly to my question about S4 classes. I am working on some toy code to help me get in through S4 classes. Doing this homework, I have some questions about S4 classes. I have carefully read available help and some additional material such as Robert Gentleman's slides and special attention to "Programming
2005 Feb 18
3
Hosting a R Graph Gallery?
Dear R users, Following some of the recent questions and discussions about the R plotting abilities, it occurred to me again that it would be very valuable to have an R graph gallery. Eric Lecoutre made a very nice example in: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf It would be very useful to many beginners, but probably also advanced users of R, to have an
2007 Jul 17
2
Combine R2HTML and Rcmd BATCH?
Hi All, I have an R script that spawns output in the form of an HTML page. This is done by the R2HTML package. Now I want to run the same script using Rcmd BATCH. However, it seems that it is not possible to use R2HTML in this case. My script ends with this error message: ######################### Error in dev.print(png, file = AbsGraphFileName, width = Width, height = Height, : can only
2005 Jan 14
1
S3/S4 classes performance comparison
Hi R-devel, If you did read my survey on Rhelp about reporting, you may have seen that I am implementing a way to handle outputs for R (mainly target output destinations: xHTML and TeX). In fact: I does have something that works for basic objects, entirely done with S4 classes, with the results visible at: http://www.stat.ucl.ac.be/ROMA/sample.htm http://www.stat.ucl.ac.be/ROMA/sample.pdf To
2002 Jun 13
2
Summary: recursion over list
Dear all, Some days ago, I asked to the list a way to recursively handle lists objects, so that on can apply a function only on terminal nodes. Thank you for all the answers. You will find here a little summary of answers with comments: - lapply allows the user to apply a function on all the items of a list, supposing this is a list with a unique depth (like:
2002 Aug 06
1
Using Tcl/Tk on Windows
Hello, I would like to try Tcl/Tk library on Windows. I installed ActiveTCL 8.3.4.3 and add the environment variable TCL_LIBRARY linking to the directory of installation. When I load the Tcl/Tk package, I have the following error: +--------------------------------------------------------------+ Error in firstlib(which.lib.loc, package) : Can't find a usable init.tcl in the
2002 Jun 10
1
Recursive function for lists
Hi to all R/S gurus, I am developping a library to export R/S objects to HTML (there was developments of this library past year, by myself and Mathieu Ros, but we never finished it). For that, I wrote HTML.* functions handled by the generic method HTML. At this step, allmost all objects exportations are possible: matrix, atomic, data.frame, functions and even plots... but I still don't
2002 Oct 17
0
RE: R2HTML package for R 1.6
Does this help on our backtest reporting? Regards, Gordon Morrison Global Head of Quantitative Research > * + 44 20 7653 7642 > Mob: + 44 7867 801951 > fax: + 44 20 7645 7442 > * mailto:gordon.morrison at commerzbankib.com > web: http://www.cbksec.com/research/quant > * Commerzbank Securities > 60 Gracechurch Street > London EC3V 0HR, U.K. >