Re: [R] Combine R2HTML and Rcmd BATCH?

2007-07-28 Thread Eric Lecoutre
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Eric Lecoutre Consultant - Business

[R] Any volonteer to maintain package R2HTML ?

2005-11-22 Thread Eric Lecoutre
Hi useRs! I am in search of any R programer / user to go on with the package R2HTML. I did change of job 3 months ago and I could only realize I have absolutely no time anymore for that (even so little) task. R2HTML package consists in a set of HTML.* functions that could be used to export R

Re: [R] Cochran-Armitage-trend-test

2005-07-28 Thread Eric Lecoutre
# Implementation is the one described in SAS PROC FREQ manual # Eric Lecoutre [EMAIL PROTECTED] # Feel free to use / modify / document / add to a package # UTILITARY FUNCTIONS # print.ordtest=function(l,...) { tmp=matrix(c(l

Re: [R] quick way to construct formula

2005-06-29 Thread Eric Lecoutre
) + log(x4) + log(x5) + log(x6) + log(x7) + log(x8) + log(x9) + log(x10) HTH, Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics

[R] c(recursive=TRUE)

2005-06-14 Thread Eric Lecoutre
to put a less usual delimitor (say §). But this would mean changing in C (feature request?). Same for unlist. Is there any other easy way to get the structure of a list? Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050

RE: [R] htlm3D made4

2005-06-07 Thread Eric Lecoutre
/made4.html - 2k - 6 Jun 2005 - Cached - Similar pages And then later: http://bioinf.ucd.ie/people/aedin/R/ HTH, Eric ps: google is your best friend Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http

RE: [R] R code for performance

2005-06-06 Thread Eric Lecoutre
You could use the benchmark created by Philippe Grosjean to compare various statistical packages. You will find it at: http://www.sciviews.org/benchmark/ Note that you have to ensure to have installed packages: Matrix and SuppDist HTH, Eric Eric Lecoutre UCL / Institut de Statistique Voie

[R] ROMA project (R Output MAnager) / Progress report / Call for contributors

2005-06-06 Thread Eric Lecoutre
or other. Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

RE: [R] DEM calculation

2005-06-02 Thread Eric Lecoutre
You can use ´expand.grid' » expand.grid(x=seq(42.2,45.2,by=1),y=seq(50.5,51.5,by=1)) xy 1 42.2 50.5 2 43.2 50.5 3 44.2 50.5 4 45.2 50.5 5 42.2 51.5 6 43.2 51.5 7 44.2 51.5 8 45.2 51.5 Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve

RE: [R] a more elegant approach to getting the majority level

2005-05-26 Thread Eric Lecoutre
You could also use: names(rev(sort(table(x[1] There is nonetheless a difference if there are several levels which provides this maximum. This method will only return one, yours would return all those levels (which may not be desirable for some others processing). HTH, Eric Eric Lecoutre

RE: [R] attached file with syntax error

2005-05-20 Thread Eric Lecoutre
Well... You just can't end vector declaration with a comma... x - c(0,1,) Error: syntax error x - c(0,1) Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel

RE: [R] Take a levels

2005-04-27 Thread Eric Lecoutre
Well... did you look at the help page on factors??? Did you even make a search? The answer is within your question: levels(iris[,5]) [1] setosa versicolor virginica Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Subianto

RE: [R] Data frames

2005-04-25 Thread Eric Lecoutre
I have two questions about data frames: (1) How can one extract a simple matrix from a data frame? I tried Matrixfromdf = function (frame,without=1) {a=frame[colnames(frame)[-without]] v=unlist(a,use.names=F) matrix(v,ncol=ncol(a))} but it works well only for

RE: [R] Object item extraction

2005-04-04 Thread Eric Lecoutre
(an other model...) 1.419101 1.00 18.00 summary(model)$fstatistic value numdf dendf 1.419101 1.00 18.00 summary(model)$fstatistic[[value]] [1] 1.419101 HTH, Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel

RE: [R] scan html: sep = td

2005-04-04 Thread Eric Lecoutre
You can import the whole thing and use on it strsplit ?strsplit Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring

RE: [R] Newbie: Matrix indexing

2005-03-22 Thread Eric Lecoutre
]] - index[,3] occurence [,1] [,2] [1,]30 [2,]00 Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've

Re: [R] Hosting a R Graph Gallery?

2005-02-21 Thread Eric Lecoutre
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

Re: [R] special symobol / character

2005-02-14 Thread Eric Lecoutre
it is symbol no. 137. cheers, Matt. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL

Re: [R] rename object

2005-02-08 Thread Eric Lecoutre
-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

Re: lme4 package etc {Re: [R] lme4 -- GLMM} | fortunes package

2005-02-08 Thread Eric Lecoutre
of the libraries in .libPaths() ) whooh Martin Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers

Re: [R] Naming Convention

2005-01-13 Thread Eric Lecoutre
Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

[R] [survey] R for Reporting - the R Output MAnager (ROMA) project

2005-01-12 Thread Eric Lecoutre
abilities in the development team. Thanks for attention, Happy R, Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring

Re: [R] Converting integers to chars i.e 1 to 01

2005-01-05 Thread Eric Lecoutre
fax: +386 (0)1 72 17 888 Slovenia __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie

Re: [R] test multiple objects for being equal length

2004-12-09 Thread Eric Lecoutre
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've

Re: [R] split() and paste() a vector to get a multi line string

2004-12-01 Thread Eric Lecoutre
-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

Re: [R] Creating a factor from a combination of vectors

2004-11-30 Thread Eric Lecoutre
Belgique Tél: +32 81 62 24 69 Email: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie

Re: [R] Create a vector of combinations based on a table column names

2004-11-23 Thread Eric Lecoutre
__ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http

Re: [R] accessing the attributes of a list inside lapply()

2004-11-19 Thread Eric Lecoutre
Hi, What about: as.list(names(l)) [[1]] [1] a [[2]] [1] b [[3]] [1] c HTH, Eric At 15:59 19/11/2004, Adrian Alexa wrote: Hello R-users, I have the following problem, that I want to solve efficiently: I have a named list, for example: l - list(a = 1, b = 3, c = 'asd') l $a [1] 1 $b [1] 3 $c [1]

[R] Lexical Scoping: eval(expr,envir=)

2004-11-18 Thread Eric Lecoutre
? Eric R version 2.0.1, Windows Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

Re: [R] Lexical Scoping: eval(expr,envir=)

2004-11-18 Thread Eric Lecoutre
: 32 a: 1 tmp$set.a(10) tmp$foo(b=32) b: 32 a: 10 --- This achieves exactly the object-oriented aspect I wanted to have. And in fact myObject()() acts as a new instantiation of my object. Best wishes, Eric At 12:05 18/11/2004, Eric Lecoutre wrote: Hi R-listers, I am trying to better undertand

[R] do.call invoking a function with multiple arguments

2004-11-09 Thread Eric Lecoutre
be possible. Could someone bring me an example of such a use? basically, my needs are: do.call(foo,args) args containing primary and extra-arguments to pass to foo. Best wishes, Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0

Re: [R] keep dimension of a sub matrix

2004-11-04 Thread Eric Lecoutre
GRATUITEMENT ici ! [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de

[R] cor, cov, method pairwise.complete.obs

2004-10-22 Thread Eric Lecoutre
_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major2 minor0.0 year 2004 month10 day 04 language R Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL

[R] [R-pkgs] R2HTML version 1.4-3

2004-10-19 Thread Eric Lecoutre
this function IS in R2HTML package!!! - Changed utils:::XXX and utils::XXX into XXX everywhere, and added import(utils) in NAMESPACE instead. Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http

Re: [R] or of a logical vector

2004-08-05 Thread Eric Lecoutre
list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be

Re: [R] String manipulation

2004-06-25 Thread Eric Lecoutre
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050

Re: [R] converting apply output

2004-06-23 Thread Eric Lecoutre
length. Any help would be appreciated. Cheers andrew __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL / Institut de

Re: [R] rownames of single row matrices

2004-06-11 Thread Eric Lecoutre
Hi Robin Have a look at: help([) The fact that dimensions are lost when extracting is a feature of the language. What you need is the drop option. a[1,,drop=FALSE] A B C a 1 4 7 Eric At 10:09 11/06/2004, Robin Hankin wrote: Hi I want to extract rows of a matrix, and preserve rownames even if

Re: [R] manipulating elements of a vector

2004-05-27 Thread Eric Lecoutre
. Vumani Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

Re: [R] extract columns using their names

2004-05-27 Thread Eric Lecoutre
: +40 (21) 312.66.18\ +40 (21) 312.02.10/ int.101 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Eric Lecoutre UCL

[R] Once again in search of memory

2004-05-26 Thread Eric Lecoutre
memory. I am turning and turning round on help pages. Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong

[R] [R-pkgs] R2HTML update

2004-04-21 Thread Eric Lecoutre
each time a command is processed. DESCRIPTION: Package: R2HTML Version: 1.3 Title: HTML exportation for R objects Author: Eric Lecoutre [EMAIL PROTECTED] Maintainer: Eric Lecoutre [EMAIL PROTECTED] Depends: R (= 1.8.1) Description: Includes HTML function and methods to write in an HTML file. Thus

Re: [R] Index of a Loop Variable?

2004-04-06 Thread Eric Lecoutre
-project.org/posting-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

Re: [R] Evaluation of functionals

2004-04-05 Thread Eric Lecoutre
-10 without assigning the function to a name? Here again, you can embedd the definition of your function in the [sl]apply code: sapply(x-10, FUN=function(x) x^2) [1] 100 Eric Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050

Re: [R] would be nice ...

2004-02-24 Thread Eric Lecoutre
-guide.html Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre If the statistics are boring, then you've got the wrong numbers. -Edward Tufte

Re: [R] reference to objects

2004-01-16 Thread Eric Lecoutre
anonyme -- Eric Lecoutre Informaticien/Statisticien Institut de Statistique / UCL TEL (+32)(0)10473050 [EMAIL PROTECTED] URL http://www.stat.ucl.ac.be/ISpersonnel/lecoutre __ [EMAIL PROTECTED] mailing list

Re: [R] summary() within a function

2004-01-14 Thread Eric Lecoutre
un ou deux ordinateurs. Citation anonyme -- Eric Lecoutre Informaticien/Statisticien Institut de Statistique / UCL TEL (+32)(0)10473050 [EMAIL PROTECTED] URL http://www.stat.ucl.ac.be/ISpersonnel/lecoutre

Re: [R] coding logic and syntax in R

2003-12-24 Thread Eric Lecoutre
. Thank you in anticipation, Pravin Pravin Jadhav -- L'erreur est certes humaine, mais un vrai désastre nécessite un ou deux ordinateurs. Citation anonyme -- Eric Lecoutre Informaticien/Statisticien

Re: [R] Summaries

2003-12-18 Thread Eric Lecoutre
/listinfo/r-help -- L'erreur est certes humaine, mais un vrai désastre nécessite un ou deux ordinateurs. Citation anonyme -- Eric Lecoutre Informaticien/Statisticien Institut de Statistique / UCL TEL

Re: [R] column extraction by name ?

2003-11-12 Thread Eric Lecoutre
=data.frame(diag(3)) colindex(x,X2) [1] 2 Eric colindex(x,X2) -- L'erreur est certes humaine, mais un vrai désastre nécessite un ou deux ordinateurs. Citation anonyme -- Eric Lecoutre Informaticien

Re: [R] vectorize an expression

2003-04-02 Thread Eric Lecoutre
-- Eric Lecoutre Informaticien/Statisticien Institut de Statistique / UCL TEL (+32)(0)10473050 [EMAIL PROTECTED] URL http://www.stat.ucl.ac.be/ISpersonnel/lecoutre

Re: [R] the chi-square test for trend / Correction

2003-03-28 Thread Eric Lecoutre
=dim(x),name=Mantel-Haenszel Chi-square) return(out) } - Eric __ Eric Lecoutre Informaticien/Statisticien Institut de StatistiqueUCL

[R] My remark on libraries

2003-02-07 Thread Eric Lecoutre
wonderfull graphics. Not only would it be nice sometimes to show them, but it would also be the occasion to demonstrate R possibilities for newcomers (think on color graphics including mathematics). R would never have enough publicity! Eric __ Eric