[R] RSPerl Causes Segfaults with Perl 5.8.0 and R 1.9.1 on Redhat9

2004-09-17 Thread Eric
options, except for having to set PERL_MODULES to not include modperl or Apache. any ideas? eric. -- http://ir.iit.edu/~ej __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

[R] how to use the hmm packgae?

2005-04-11 Thread Eric()
. Eric [[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

Re: [R] CGIwithR and visible output of 'invisible(capture.output(library(...)))'

2007-01-26 Thread Eric
library(R2HTML, verbose = FALSE) Leo Gürtler wrote: Dear alltogether, I want to use CGIwithR in conjunction with R2HTML. A small example called 'test.R': # #! /usr/bin/R invisible(capture.output(library(R2HTML))) HTML(summary(as.numeric(scanText(formData$numbers))), file=stdout())

Re: [R] R in Industry

2007-02-07 Thread Eric
is here: http://quirks.com/jobmart/search.asp Heck, it could even become a revenue resource for the R Project foundation if members and supporting institutions got little gold stars with their postings or some such. Eric * Defined as Unable to follow posting guidelines. Bert Gunter wrote: ... two

Re: [R] Getting the last day of the month.

2007-05-10 Thread Eric
For 2007: seq(as.Date('2007-02-01'), length = 12, by = mon) - 1 Current month: seq( as.Date( format( Sys.Date(), %Y-%m-01)), length = 2, by = mon)[2] - 1 Eric Patnaik, Tirthankar wrote: Hi, Given a date, how do I get the last date of that month? I have data in the form MM

[R] Sample Datasets for binary classifiers

2005-07-12 Thread Eric Rodriguez
if there are other datasets or ideas that could help me. Thanks and don't hesitate to ask extra information if my request is not understandable. Eric __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] 3d scatter plot

2005-07-15 Thread Eric Hu
Hi, I ran into a dilemma trying to plot the following data in a 3d scatter fashion. My data are not always increasing as persp() expects. For now I use scatterplot3d to get points in a 3d scatter plot. I wonder if I have any way to plot the surfaces. Thanks! Eric sample data -0.50 0.40

Re: [R] 3d scatter plot

2005-07-15 Thread Eric Hu
Hey Sundar I guess it works indeed. I had made a stupid mistake. Thanks. Eric On Jul 15, 2005, at 11:24 AM, Sundar Dorai-Raj wrote: Hi, Eric, I plotted a surface using the first two columns as x and y and the third column for z: library(lattice) v - read.table(clipboard) names(v) - c(x

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

2005-07-28 Thread Eric Lecoutre
the analysis of contingency tables. Whoever is interested to take it and rework it a little bit (for example redefining outputs so that they suits a htest object) is welcome. Best wishes, Eric - # R functions to provides statistics on contingency tables # Mimics SAS PROC FREQ outputs

[R] passing variable to formula environment

2005-08-03 Thread Eric Archer
to wrap my head around environments and evaluation in R, the solution to this will be very educational. Thanks in advance. Cheers, e. -- Eric Archer, Ph.D. NOAA-SWFSC 8604 La Jolla Shores Dr. La Jolla, CA 92037 858-546-7121,7003(FAX) [EMAIL PROTECTED] Lighthouses are more helpful than churches

Re: [R] passing variable to formula environment

2005-08-03 Thread Eric Archer
Most excellent Sundar! Thanks so much! Cheers, e. Sundar Dorai-Raj wrote: Eric Archer wrote: List gurus, I'm trying to code a Gompertz growth curve function as part of a larger project and have run across a problem due to my ignorance of environments. Some sample data

[R] spline curves in R

2005-08-09 Thread Eric yang
appreciated. TIA Eric - [[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

[R] bootstrapping for clustering

2005-09-14 Thread Eric Pante
, and it cannot be used with matrices to generate Bray-Curtis similarity dendrograms?) Please forgive my ignorance! Thank you in advance, eric pante __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Clustering and bootstrap

2005-09-21 Thread Eric Pante
to obtain a majority-rule consensus tree from x distance matrices ? Is anyone using R to generate phylogenetic trees with node support ? thanks for your time and consideration, Eric P. Eric Pante --- Graduate Student in Marine Biology

[R] sampling vectors

2005-10-03 Thread Eric Pante
suggestions would be very helpful ! Thank you in advance, Eric __ 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

Re: [R] sampling vectors

2005-10-04 Thread Eric Pante
To: Eric Pante Cc: r-help@stat.math.ethz.ch Subject: Re: [R] sampling vectors Eric, If you want samples of size 3 from 0:50, with sum==50, this seems to do the job (with apologies to those who really know how to program in R): tot - 50 ii - 0 aa - list() for(i in 0:tot){ for(j in 0

[R] Maximum length of R GUI input line?

2006-08-18 Thread Eric Fegraus
Hello, I'm using R 2.3.1 on Windows. I'm generating some very long SQL statements. I do this by using paste() which will contain many strings and variables. I'm getting an error when the the total line length is longer than about 1013 characters. For example, it works with the line

[R] unvector ?

2006-09-11 Thread Eric Elguero
problem too, as the only one I found is maintaining two versions of the functions I write. Eric Elguero GEMI-UMR 2724 IRD-CNRS, Equipe Evolution des Systemes Symbiotiques 911 avenue Agropolis, BP 64501, 34394 Montpellier cedex 5 FRANCE __ R-help

[R] is it possible to fill with a color or transparency gradient?

2006-10-06 Thread Eric Harley
of scatter plot points, for example, but it each individual point (or grob) is always one solid color as far as I can tell. Thanks, Eric __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[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

[R] apply function

2004-10-20 Thread Eric Pellegrini
apply(mat, 1, tabulate(nbins=4)). Any clue ? Thanks, Eric -- Eric Pellegrini, PhD Computer-Chemie-Centrum University of Erlangen-Nürnberg Nägelbachstraße, 25 D-91052 Erlangen Germany __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch

[R] Insert image in Rd documentation files

2004-10-21 Thread Eric ESPOSITO
Hello, Does anyone know if it is posssible to insert a picture (ps or jpg for example) in documentation files with Rd extension. I guess it's impossible but maybe there is a trick. Thank you! Eric Esposito == Direction de la Recherche Pôle Economie

[R] Problem with vignettes

2004-10-21 Thread Eric ESPOSITO
format files are taken into account, is it normal? Is there something special to do to take other file formats into account? Thank you Eric Esposito == Direction de la Recherche Pôle Economie, Statistisques et Sociologie 361 avenue du Président Wilson - BP 33 93211

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

2004-10-22 Thread Eric Lecoutre
question arises in a context where cor(mydata, use=pairwise.complete.obs) returns correlations on diagonal that are near 0.95 (where as my data do have 100 observations and only 12 missing values...). Do cor() and cov() handle the same way the argument pairwise.complete.obs? Eric R.version

Re: [R] keep dimension of a sub matrix

2004-11-04 Thread Eric Lecoutre
See help([) which informs you about the additional argument drop: ret -matrix(1,4,4)[i1:i2,j1:j2,drop=FALSE] ; BTW, you do not need to end lines of code with a ; ... Eric At 12:06 4/11/2004, JC Vaugeois wrote: Hi, is there any way to keep a sub matrix dimension? exemple : i1-1; i2-1 j1-2; j2-3

[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

[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

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] Weibull survival regression

2004-11-22 Thread Eric Lim
, Eric Lim Papworth Hospital Cambridge, UK futime status [1,] 0.4000 1 [2,] 0.8000 1 [3,] 7.1000 1 [4,] 3. 1 [5,] 0.6333 1 [6,] 9.9333 1 [7,] 0.5000 1 [8,] 6.9333 1 [9,] 23. 1 [10

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

2004-11-23 Thread Eric Lecoutre
,collapse= )) [1] A F J D I B I A G H B C E H E H B C E G E [10] B C E I HTH, Eric At 16:40 23/11/2004, Henrik Andersson wrote: I want to create a character vector based on the table (shortened for display) below: Where there are ones in the matrix I want the column name

[R] Weibull survival regression

2004-11-23 Thread Eric Lim
the solution by combining the two solutions: lung.wbs - survreg( Surv(futime, status)~ 1, data=lung, dist='weibull') plot (survfit(Surv(futime,status)~1, data=lung)) curve (exp (- (exp( lung.wbs$coef[1])*x)^(1/lung.wbs$scale)), col=black, add=T, from=0, to=30) Kind regards, Eric Lim Papworth Hospital

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

2004-11-30 Thread Eric Lecoutre
: Low Medium High It uses: ? paste (sep=.) to create the combinations ie 0.0, 10.50, etc. ? do.call to invoke the paste on the columns of the data.frames ? factor specifying existing levels (only those defined by cas data.frame) anbd labels Eric At 10:12 30/11/2004, Yves Brostaux wrote: Dear

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

2004-12-01 Thread Eric Lecoutre
to compute on elements of this list. If we decompose, the lapply does: lapply(token.list,paste,collapse=, ) $1 [1] a, b, c $2 [1] d, e On which we call a paste. HTH, Eric At 12:00 1/12/2004, Wolfram Fischer wrote: How can I get a multi line string from a vector of string tokens in an easy manner (e.g

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

2004-12-09 Thread Eric Lecoutre
is to use all: » all(sapply(ll,length)==length(ll[[1]])) [1] FALSE HTH, Eric At 09:09 9/12/2004, Manuel Gutierrez wrote: I could not find any help pages on How to test many objects for being of equal length Something like identical for more than two objects? x-1:6 y-1:10 z-3:5 ## For two objects I

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

2005-01-05 Thread Eric Lecoutre
105 106 107 108 109 110 111 ? formatC HTH, Eric At 16:17 5/01/2005, Gregor GORJANC wrote: Hello! I am producing a set of images and I would like them to be sorted by names I give. I was able to produce my names and add integer to them. That is easy. But my problem lies in sort of file from

[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] Naming Convention

2005-01-13 Thread Eric Lecoutre
to column by names: M - as.data.frame(M) M$~ Error: syntax error M$~ [1] 0 1 (same problem if name contains any other operator or a space) Eric At 10:32 13/01/2005, Christoph Scherber wrote: Dear Reinhold, All entries are allowed except price swap or price_swap Of course it´s most convenient

[R] How to generate labels or names?

2005-01-27 Thread Eric Rodriguez
Hi, I'm new to R and I would like to generate labels like data.frame does : V1 V2 V3 I'm trying to generate a N vector with label such as Lab1 Lab2 ... LabN. I guess this is pretty easy when you know R ;) Thanks for help Eric __ R-help

Re: [R] Array Manipulation

2005-01-27 Thread Eric Rodriguez
and something like that: dat[dat$ID == sample(unique(dat$ID), 3), 2] ? I'm not sure about the ,2 maybe you need the full matrix ? ps: first time, i forgot the list __ R-help@stat.math.ethz.ch mailing list

[R] Propositions to fit a 2 pieces function

2005-01-31 Thread Eric Rodriguez
it ? Thanks a lot ! Eric __ 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

Re: [R] rename object

2005-02-08 Thread Eric Lecoutre
,sep=) for (i in 1:nsimul){ ### simOut[i]- resultsofsimulation.i ### } Eric At 11:22 8/02/2005, Ulrich Leopold wrote: Dear list, I would like to rename an object as follows: SimLUall - matrix(c(0,1,0,0, 1,0,0,0, 0,0,1,0, 0,0,0,1),nrow=4, ncol=4) j - 2 SimLUall2 - SimLUall and j

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

2005-02-08 Thread Eric Lecoutre
I guess Martin is struggling to have the most entries in the next version of fortunes ;-) Well... I hope so! Or we should really do something for new users - letting any R core team member getting convulsive is dangerous for the futuRe. Best wishes, Eric Pavel this is a question, how can i

Re: [R] special symobol / character

2005-02-14 Thread Eric Lecoutre
seems promising with the Unicode support: kudo R core team! Eric At 08:23 15/02/2005, FISCHER, Matthew wrote: Hi all, Is it possible to add a permil (or per mille) symbol to an R plot (I couldn't find this symbol under demo(Hershey) or the plotmath information). In some ascii tables

Re: [R] Hosting a R Graph Gallery?

2005-02-21 Thread Eric Lecoutre
). The result (the current gallery) is there. It is aimed to be something like 300 pixels large. At final step, graph would be clickable with a wizard. http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/R/svGraphGallery/dock/svGallery.html Eric At 08:46 21/02/2005, Robert Cunningham wrote: I too have often

[R] nonlinear least square fit of an unknown function

2005-02-22 Thread Eric Hu
Hi, I have a set of twelve points and wonder how I can get a function that can then be used to calculate the area under the curve (most important). Thanks. Eric __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] install R redhat rpm as a normal user

2005-03-09 Thread Eric Hu
Hi, I wonder if anyone has done this before. I have rpm-build installed in my workstation. Thanks. Eric __ 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

Re: [R] install R redhat rpm as a normal user

2005-03-10 Thread Eric Hu
Thank you all. Best, Eric On Mar 10, 2005, at 7:21 AM, Marc Schwartz wrote: On Wed, 2005-03-09 at 16:17 -0800, Eric Hu wrote: Hi, I wonder if anyone has done this before. I have rpm-build installed in my workstation. Thanks. Eric I have not seen any other replies to this, but as far as I know

[R] Question about hist

2005-03-17 Thread Eric Pellegrini
of histograms (called histList) Now, I would like to get the cumulative sum for the field $counts of each of the element of histList using cumsum function. Is that possible given the way I used or is there a simpler one ? Thank you very much Eric -- Eric Pellegrini, PhD Computer-Chemie-Centrum

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] 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

[R] installation problem with 2.3.0

2006-04-26 Thread Eric Evans
this problem in 2.3.0. Does anybody have any suggestions for things I can try to remedy this problem? Thanks very much, Eric __ 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

[R] random walk on graph

2006-04-27 Thread Eric Blabac
]) } x[k] - which(y == 1) } L[i,m] - x[N+1] } } its giving me the error: Error in [-(`*tmp*`, k, value = integer(0)) : nothing to replace with no matter what I do I cant fix it ... any suggestions ? Thanks Eric Blabac PhD

[R] Vector searching and counting speed optimization

2006-05-03 Thread Eric Archer
. Any and all suggestions are gladly welcomed. Thanks in advance. Cheers, eric --- Variables used : 'pop' - population i.d. , 'a1' 'a2' - alleles 1 and 2 at locus : all character vectors of equal length (no NAs) nvec - vector of number of individuals in population 'p' a - allele for which 'p.a

Re: [R] Vector searching and counting speed optimization

2006-05-03 Thread Eric Archer
__ 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 Archer, Ph.D. NOAA-SWFSC 8604 La Jolla Shores Dr. La Jolla, CA 92037 858-546-7121,7003(FAX) [EMAIL

[R] microarray-like graph

2006-05-18 Thread Eric Hu
0 0 2 -455.23 2.84 1 0 0 1 -432.30 2.98 ... I would like to assign colors to the first three columns and plot the last column against fourth column which is the sum of the first three at each row. Can anyone point to me how to approach this? Thanks for your suggestions. Regards, -Eric

Re: [R] microarray-like graph

2006-05-19 Thread Eric Hu
to get an average single value for that range. What do you think? Thanks. Eric On 5/19/06, Jim Lemon [EMAIL PROTECTED] wrote: Eric Hu wrote: Hi, I am beginning to learn R and have a data table that I would like to produce a microarray-like plot. The table looks like this: 3 0 0 3

[R] Status of data.table package

2006-06-05 Thread Eric Rexstad
List: This package was described in R News of May 2006. However, I cannot find it on CRAN mirrors, and use of RSiteSearch is unsatisfying. I am likewise unable to find an email address for the maintainer of the package. Thank you in advance for assistance. -- Eric Rexstad Research Unit

[R] nested mixed-effect model: variance components

2006-06-08 Thread Eric Pante
: Within Df Sum Sq Mean Sq F value Pr(F) Residuals 145 6422.044.3 My error message seems to come from the LAGOON/HABITAT, the Error is computed. Warning message: Error() model is singular in: aov(COVER ~ HABITAT + Error(HABITAT+LAGOON+LAGOON/HABITAT), data=cov), THANKS !!! eric

[R] plot two graphs with different length of data

2006-06-12 Thread Eric Hu
, ylim, log, asp, ...) : invalid 'ylim' value Can anyone tell me what went wrong? Thanks. Eric __ 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

Re: [R] plot two graphs with different length of data

2006-06-12 Thread Eric Hu
Thanks Jim. This seems to work for my case already. Eric On 6/13/06, Jim Lemon [EMAIL PROTECTED] wrote: Eric Hu wrote: Hi I am trying to plot two data set in the same picture window without overlapping with each other. I am using the format plot(x1,y1,x2,y2) but get the following error

Re: [R] plot two graphs with different length of data

2006-06-15 Thread Eric Hu
thank you, Joerg. I am able to use points() to add the new data in the current plot. Eric On 6/13/06, Joerg van den Hoff [EMAIL PROTECTED] wrote: Eric Hu wrote: Hi I am trying to plot two data set in the same picture window without overlapping with each other. I am using the format plot(x1

[R] running R in batch with stdin input

2006-06-15 Thread Eric Hu
like R CMD BATCH r.script name_variable. Thanks. -Eric In the r.script I have name - readline(/dev/stdin) r0 - read.table(/usr/local/surface/$name/$name_c_r) ... I want to get at the end: name - 1BRS r0 - read.table(/usr/local/surface/1BRS/1BRS_c_r

Re: [R] Image Processing packages

2006-01-26 Thread Kort, Eric
). However, it can be done and it might be desirable to do so from a work-flow perspective. -Eric Greetings Thomas Kaliwe This email message, including any attachments, is for the so...{{dropped}} __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Image Processing packages

2006-01-27 Thread Kort, Eric
Charles Annis, P.E. writes... Eric: I use R to quantify the efficacy of ultrasonic inspections of metal components (e.g. looking for nonmetallic inclusions in forgings) and use R for image processing, but my methods have been rather a kluge. I am interested in your R functions, if you

Re: [R] Image Processing packages

2006-01-27 Thread Kort, Eric
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, Is it possible that I could see some of your functions and/or results of those functions(Eric, Charles, Stephan). It's more about that I'd like to see what already has been accomplished and the way that was chosen thus circumventing

Re: [R] Image Processing packages

2006-01-31 Thread Kort, Eric
Nice. May I incorporate these into the collection I am packaging up for redistribution? -Eric -Original Message- From: Vincent Zoonekynd [mailto:[EMAIL PROTECTED] Sent: Mon 1/30/2006 6:48 PM To: R-help@stat.math.ethz.ch Cc: [EMAIL PROTECTED]; Kort, Eric; [EMAIL PROTECTED]; Thomas

[R] matching tables

2006-02-07 Thread Eric Pante
Unfortunately, I was not successful using match(). Previous postings explain how to do similar matching, but for tables for same length, specifically. Any thoughts ? Thanks ! eric Eric Pante College of Charleston, Grice Marine Laboratory

[R] Creating multiple copies of rows in data frames

2006-02-10 Thread Eric Archer
duplicate or copy. Perhaps it had another primary purpose, but this was a side-effect or secondary capability. Was I hallucinating, or does this exist as a function in base R? Or, will I have to make one with rep? Thanks in advance! e. -- Eric Archer, Ph.D. NOAA-SWFSC 8604 La Jolla Shores Dr

[R] R and marine protected areas: algorithms for site selection

2006-02-23 Thread Eric Pante
Dear listers, a central problem in conservation biology is the selection of sites in reserve network design. many algorithms have been published, and I was wondering any have been implemented in R. I did not seen anything on CRAN or R-help, or on the web in general. Best regards, Eric Eric

[R] book and website announcement

2006-03-14 Thread Eric Zivot
The 2nd Edition of my book (with Jiahui Wang) Modeling Financial Time Series with S-PLUS has recently been published by Springer-Verlag. The 2nd Edition is updated to cover S-PLUS 7 and S+FinMetrics 2.0. I have also created a website for the 2nd Edition, which can be found at

[R] subsetting and NAs

2006-03-20 Thread Eric Archer
. Cheers, eric Sample Data: structure(list(FlightID = c(4497, 4498, 4499, 4500, 4501, 7083, 7084, 7085, 7086, 7087, 35208, 35209, 35210, 35212, 35213, 35214 ), TailNo = structure(c(28, 28, 28, 28, 28, 49, 49, 49, 49, 49, 47, 47, 54, 47, 47, 15), .Label = c(12345, 133BW, 152GB, 172CM, 172RW, 1955L

Re: [R] subsetting and NAs

2006-03-20 Thread Eric Archer
Had I just looked at flight$year 2006, I would've seen what was up. Thanks much Peter! Cheers, eric P Ehlers wrote: [snip] flight$year 2006 will return TRUE/FALSE, not row numbers. Try this: errors - subset(flight, subset = year 2006) Peter Ehlers -- Eric Archer, Ph.D. NOAA

[R] Adding values to top of bars in barchart

2006-04-14 Thread Eric Archer
that I could think of, but didn't run across anything I recognized as useful. Any pointers on how to accomplish this would be greatly appreciated. Thanks in advance. Cheers, eric -- Eric Archer, Ph.D. NOAA-SWFSC 8604 La Jolla Shores Dr. La Jolla, CA 92037 858-546-7121,7003(FAX) [EMAIL PROTECTED

Re: [R] Adding values to top of bars in barchart

2006-04-14 Thread Eric Archer
Deepayan, Thanks much! That works perfectly! Cheers, eric Deepayan Sarkar wrote: On 4/14/06, Eric Archer [EMAIL PROTECTED] wrote: Given the following data frame (freq.sp), str(freq.sp) `data.frame': 42 obs. of 4 variables: $ behav : Factor w/ 6 levels approach,bowride,..: 1 1

[R] (sem assunto)

2006-04-20 Thread Eric Ferreira
Dear R-colleagues, Is it possible to mix TEXT and VALUE of objects in y (or x) label of a plot? For instance: f-2 plot(..., ylab='Axis f', ...) where f means the VALUE of f. Thany you in advance, Eric. -- Barba Departamento de Ciências Exatas Universidade Federal de Lavras Minas Gerais

Re: [R] (sem assunto)

2006-04-20 Thread Eric Ferreira
Thak you very much indeed! Eric. On 4/20/06, Gabor Grothendieck [EMAIL PROTECTED] wrote: Try paste: paste(Axis, f) On 4/20/06, Eric Ferreira [EMAIL PROTECTED] wrote: Dear R-colleagues, Is it possible to mix TEXT and VALUE of objects in y (or x) label of a plot? For instance

[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

Re: [R] manipulating elements of a vector

2004-05-27 Thread Eric Lecoutre
,]001 HTH, Eric At 12:23 27/05/2004, you wrote: Dear R users; I would like to convert a series of vectors to matrices in the following way; (2,1,1) to a matrix 1 0 0 1 0 0 0 1 0 0 0 1 The idea is that the column sum of the matrix should be equal to the elements of the vector. Thanks

Re: [R] extract columns using their names

2004-05-27 Thread Eric Lecoutre
. See 'colnames' or 'dimnames' for that. Eric At 16:19 27/05/2004, you wrote: Hello, Is there a way to extract multiple columns from a dataframe using their names instead of their numbers? Currently I use: data2 - data1[, c(1,3,9)] And I am looking for something like data2 - data1[, c(XX,YY,ZZ)] I use

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

Re: [R] converting apply output

2004-06-23 Thread Eric Lecoutre
Hi, Why not try with the data.frame structure, wich internally yet consists in a list: lapply(as.data.frame(m1),function(x) which(x==1)) $V1 [1] 8 9 $V2 [1] 9 10 [...] Eric At 12:53 23/06/2004, Andrew Beckerman wrote: Hi - platform powerpc-apple-darwin6.8 status major1 minor9.0 year

Re: [R] String manipulation

2004-06-25 Thread Eric Lecoutre
)), names=c(names1,names2)) data genrenames [1,] female a [2,] female b #[...] continued split(data[,names],data[,genre]) $female [1] a b c d e f g h i j $male [1] a b c d e f g h i j k l m n o p q r s t See ?split Eric At 11:16 25/06/2004, Dimitris Rizopoulos wrote: Hi Robin

[R] Absolute ceiling on R's memory usage = 4 gigabytes?

2004-07-01 Thread Kort, Eric
available. Does this mean 4 gigabytes is the absolute upper limit of R's memory usage...or perhaps 8 gigabytes since you can set both the stack and the heap size to 4 gigabytes? Thanks, Eric This email message, including any attachments, is for the so...{{dropped

RE: [R] Absolute ceiling on R's memory usage = 4 gigabytes?

2004-07-01 Thread Kort, Eric
will recompile and try again. Thanks, Eric From: Kort, Eric Hello. By way of background, I am running out of memory when attempting to normalize the data from 160 affymetrix microarrays using justRMA (from the affy package). This is despite making 6 gigabytes of swap space available on our

RE: [R] Absolute ceiling on R's memory usage = 4 gigabytes?

2004-07-02 Thread Kort, Eric
Yes, we are using the HGU-133plus2 chips with 50,000+ probes, and I suppose that the memory requirements increase geometrically as the chip size increases. Thanks for your email...I can let you know if we have any success if you are interested for future reference. -Eric

RE: [R] Absolute ceiling on R's memory usage = 4 gigabytes?

2004-07-02 Thread Kort, Eric
to compile a 64 bit R somewhere sometime soon. Thanks, Eric -Original Message- From: Paul Gilbert [mailto:[EMAIL PROTECTED] Sent: Fri 7/2/2004 10:39 AM To: Kort, Eric Cc: Tae-Hoon Chung; [EMAIL PROTECTED] Subject: Re: [R] Absolute ceiling

Re: [R] or of a logical vector

2004-08-05 Thread Eric Lecoutre
Hi Ben, Always do consider that boolean vectors TRUE/FALSE are equivalent to integers 1/0. What you want is to know wether one element of a vector is TRUE, which is: sum(vec)0 HTH, Eric At 18:38 5/08/2004, Ben Wittner wrote: Is there some fast (built-in?) way to get the OR of all the elements

[R] Censored (Tobit) Regression method

2004-08-25 Thread Eric Peterson
and full models. Where does ML get involved in the calculations? Thanks! -Eric --- Eric B. Peterson, Ph.D. Vegetation Ecologist Lichenologist Nevada Natural Heritage Program and (adjunct) UNR Dept. NRES [[alternative HTML version deleted

RE: [R] Data frames

2005-04-25 Thread Eric Lecoutre
observation This will allow you to specify the classes of the variables. data.frame(list(x=1,y=character))[-1,] [1] x y 0 rows (or 0-length row.names) Eric __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

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

[R] How to break data in quantiles properly?

2005-04-27 Thread Eric Rodriguez
Hi, I would like to break a dataset in n.classes quantiles. Till now, I used the following code: Classify.Quantile - function (dataset, nclasses = 10) { n.probs - seq(0,1,length=nclasses+1) n.labels = paste(C, 1:nclasses-1, sep=) n.rows - nrow(dataset) n.cols -

[R] randomForest partialPlot x.var through function

2005-05-13 Thread Eric Archer
passing Cruise through pred.var in the function call to x.var, but I can't figure out how to properly correct it. Thanks in advance for any pointers. e. -- Eric Archer, Ph.D. NOAA-SWFSC 8604 La Jolla Shores Dr. La Jolla, CA 92037 858-546-7121,7003(FAX) [EMAIL PROTECTED] Lighthouses are more

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

[R] Question on read.table

2005-05-24 Thread Dubé, Eric
Hi This is possbible to read AREMOS file with read.table function. The AREMOS format come from DRI-WEFA and is uses with Eviews Thanks *** AVIS DE NON-RESPONSABILITE:\ Ce document transmis par

[R]: Aremos TSD files

2005-05-25 Thread Dubé, Eric
Hi I try to read Aremos files but with any succes, could you help me please. Thanks Eric Dubé Éric Dubé Économiste / Economist Groupe économie et stratégie (dép. 657) / Economic Strategy Team (Dept. 657) Financière Banque Nationale / National Bank Financial 1155 Metcalfe 5e étage / 5th

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] 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] 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

  1   2   3   >