Re: [R] Indexing a loop-created list

2006-10-19 Thread Romain Lorrilliere
> hi, > > try this: > > my_list <- NULL > > for (i in 1:n) > {for (j in (i+1):m) > {my_list <- c(my_list,list(i_create_a_matrix(i,j))) > } > } > > > > Best, > > Romain > > > Romain Lorrillière > > > > UMR 8079 Laboratoire Ecologie, Systématique et Evolution > > Bât.

Re: [R] Indexing a loop-created list

2006-10-19 Thread Romain Lorrilliere
__ 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.

Re: [R] new R-user needs help

2006-10-18 Thread Romain Lorrilliere
try this, if your data frame name is "tab" mean.tab = data.frame (meanA = mean(tab[tab$name == 'a' ,4:8]), meanB = mean(tab[tab$name == 'b',4:8]), meanC = mean(tab[tab$name == 'c',4:8])) mean.tab good luck Romain Romain Lorrillière UMR 8079 Laboratoire Eco

[R] converting decimal - hexadecimal

2006-08-30 Thread Romain Lorrilliere
Hi, do you know, a method to convert an decimal value (integer) to the corresponding hexadecimal value ? thinks for help. Romain -- Lorrillière Romain UMR 8079 Laboratoire Ecologie, Systématique et Evolution Bât. 362 Université Paris-Sud 91405 Orsay cedex France tel : 01 69 15 56

[R] executable file with R

2006-05-30 Thread Romain Lorrilliere
Hi, I made an R function, and I want make an executable applet with it. Do you know how it is possible? Thank for your help. Romain -- Lorrillière Romain UMR 8079 Laboratoire Ecologie, Systématique et Evolution Bât. 362 Université Paris-Sud 91405 Orsay cedex France tel : 01 69

[R] converting hexadecimal

2006-05-24 Thread Romain Lorrilliere
Hi, do you know, a method to convert an hexadecimal value to the corresponding integer value (decimal) ? thinks for help. Romain -- Lorrillière Romain UMR 8079 Laboratoire Ecologie, Systématique et Evolution Bât. 362 Université Paris-Sud 91405 Orsay cedex France tel : 01 69 15 56