Re: [R] Code in lattice::dotplot function.

2005-08-26 Thread Ernesto Jardim
Deepayan Sarkar wrote: On 8/25/05, ernesto [EMAIL PROTECTED] wrote: Hi, I'm trying to understand the code of lattice functions so that I can write some S4 methods using lattice. The following code is a snipet of dotplot that is reused in several other functions. I don't understand why this

Re: [R] histogram method for S4 class.

2005-08-26 Thread Ernesto Jardim
Deepayan Sarkar wrote: On 8/24/05, ernesto [EMAIL PROTECTED] wrote: Hi, I'm trying to develop an histogram method for a class called FLQuant which is used by the package FLCore (http://flr-project.org). FLQuant is an extension to array. There is an as.data.frame method that coerces flquant

Re: [R] R under suse linux 9.3

2005-07-07 Thread Ernesto Jardim
Mahdi Osman wrote: Hi, dear list members, I've been using R under windows XP and I am now changing my system to SUSE LINUX 9.3. I could figure out that there is no precompiled version of R for LINUX. To get me going, I would like your help regarding what I need to setup R under my

Re: [R] R under suse linux 9.3

2005-07-07 Thread Ernesto Jardim
Peter Dalgaard wrote: Ernesto Jardim [EMAIL PROTECTED] writes: Mahdi Osman wrote: Hi, dear list members, I've been using R under windows XP and I am now changing my system to SUSE LINUX 9.3. I could figure out that there is no precompiled version of R for LINUX. To get me going, I

[R] Using transform on spproj package.

2005-06-09 Thread Ernesto Jardim
Hi, I'm trying to use transform my mercator locations into utm but I'm doing something wrong because only x is transformed ... see xy.sp SpatialPoints: loni lati [1,] -8.85 38.16 [2,] -9.19 37.99 [3,] -9.11 37.97 [4,] -9.06 38.15 [5,] -9.03 37.87 [6,] -9.14 37.81 [7,] -9.09

[R] showMethods doubt

2005-06-02 Thread Ernesto Jardim
Hi, I'm developing in S4 and I wanted to see the methods for a specific class using showMethods but I didn't succed. Can someone help ? See the example below. setClass(myclass, representation( name=character ) ) setGeneric(mymeth, function(obj, ...){

Re: [R] R GUI for Linux?

2005-05-31 Thread Ernesto Jardim
Sander Oom wrote: Hi Charles, Warm felt sympathies for your struggles. I consider myself a happy GUI user and have also struggled with the 'command line' history and lack of out-of-the-box functionality associated with Linux. However, Linux does have many, many advantages over other OS's, so

Re: [R] sqlQuery

2005-05-12 Thread Ernesto Jardim
Navarre Sabine (stu) wrote: Hello, (sqlQuery(channel, select * from..)) I would like to know if it's possible to put a file name in the parameters of the function 'sqlQuery' instead of putting the query . If it's possible, what kind of extension for my file have I need? That's for your help

[R] acf problem ?

2005-05-12 Thread Ernesto Jardim
Hi I'm getting the following error that do not make sense to me, what am Idoing wrong ? acf(Recsim[1,], lag.max=1) Error in acf(Recsim[1, ], lag.max = 1) : 'lag.max' must be at least 1 Regards EJ __ R-help@stat.math.ethz.ch mailing list

Re: [R] acf problem ? SOLVED

2005-05-12 Thread Ernesto Jardim
Ernesto Jardim wrote: Hi I'm getting the following error that do not make sense to me, what am Idoing wrong ? acf(Recsim[1,], lag.max=1) Error in acf(Recsim[1, ], lag.max = 1) : 'lag.max' must be at least 1 Regards EJ __ R-help@stat.math.ethz.ch

Re: [R] colSums and rowSums with arrays - different classes and dim ?

2005-04-21 Thread Ernesto Jardim
Prof Brian Ripley wrote: On Thu, 21 Apr 2005, Ernesto Jardim wrote: I'm using colSums and rowSums to sum the first dimensions of arrays. It works ok but the resulting object is different. See a3d - array(rnorm(120, mean=2), dim=c(20,6,1)) dim(colSums(a3d)) [1] 6 1 dim(rowSums(a3d)) NULL class

[R] Manual for package methods

2005-04-19 Thread Ernesto Jardim
Hi, I want to compile the manual for methods so that I can have the usual indexed man pages in a single document with a ToC. I've tried with R CMD Rd2dvi --pdf /usr/local/lib/R/library/methods but the result is odd, the ToC shows only as and setOldClass and it does not compile all man pages,

Re: [R] Manual for package methods

2005-04-19 Thread Ernesto Jardim
Thanks, EJ Prof Brian Ripley wrote: Please do this for the *sources* and not the installed package. If I do, it works for me. On Tue, 19 Apr 2005, Ernesto Jardim wrote: Hi, I want to compile the manual for methods so that I can have the usual indexed man pages in a single document with a ToC

Re: [R] lognorm

2005-01-07 Thread Ernesto Jardim
args(rlnorm) function (n, meanlog = 0, sdlog = 1) NULL Frederic renaud wrote: Hi! I 've a problem to have a lognorm distribution with mean=1 and var (or sigma)=1. rlnorm(1000,0,0) rlnorm(1000,1,1) rlnorm(1000,0,1) ? Can you help me?

Re: [R] lognorm

2005-01-07 Thread Ernesto Jardim
) --- Ernesto Jardim [EMAIL PROTECTED] wrote: Where did you get those values ? mean(rlnorm(1,0,1)) [1] 1.667496 var(rlnorm(1,0,1)) [1] 4.666731 Look at previous emails, they are more explicit. The basis is that you must give the mean and variance in log scale. EJ Frederic renaud wrote

Re: [R] about kriging

2005-01-04 Thread Ernesto Jardim
Hi, Take a look at http://agec144.agecon.uiuc.edu/csiss/Rgeo/ Regards EJ On Tue, 2005-01-04 at 09:09, Prodromos Zanis wrote: Dear R-project users I want to use kriging method to interpolate irregularly distributed temperature data (station data) with latitude, longtitude and altitude

[R] RandomFields: Controling seed with GaussRF

2004-12-27 Thread Ernesto Jardim
Hi, I'm using RF to simulate a correlated variable with GaussRF set.seed=1 GaussRF(sim.kfinegrid, grid=F, model=exponential, param=c(0,0.5,0,0.2)) However when I simulate again using the same random seed I get different results. set.seed=1 summary(GaussRF(sim.kfinegrid, grid=F,

Re: [R] RandomFields: Controling seed with GaussRF

2004-12-27 Thread Ernesto Jardim
On Tue, 2004-12-28 at 00:30, Peter Dalgaard wrote: Ernesto Jardim [EMAIL PROTECTED] writes: set.seed=1 GaussRF(sim.kfinegrid, grid=F, model=exponential, param=c(0,0.5,0,0.2)) However when I simulate again using the same random seed I get different results. set.seed=1

Re: [R] boot package

2004-12-05 Thread Ernesto Jardim
On Sun, 2004-12-05 at 01:37, Nathan Leon Pace, MD, MStat wrote: Hi, I using the boot package 1.2-20 on R 2.0.1. My statistics function estimates 6 parameters. In a small percentage of resampled data sets my statistics function doesn't produce an estimate for one parameter and the boot

Re: [R] How about a mascot for R?

2004-12-02 Thread Ernesto Jardim
What about a Ray ? Take a look at: http://www.fishbase.org/Photos/ThumbnailsSummary.cfm?ID=15487 a shark family called Rhinobatus rhinobatus check http://www.fishbase.org/Photos/ThumbnailsSummary.cfm?ID=5016 ;-) regards EJ On Thu, 2004-12-02 at 16:12, Damian Betebenner wrote: R users,

Re: [R] How about a mascot for R?

2004-12-02 Thread Ernesto Jardim
On Thu, 2004-12-02 at 16:40, Peter Dalgaard wrote: Damian Betebenner [EMAIL PROTECTED] writes: R users, How come R doesn't have a mascot? Linux has one and so does LaTeX, so shouldn't R? I personally think that associating a friendly face with R would be a good thing for R (one

Re: [R] How about a mascot for R?

2004-12-02 Thread Ernesto Jardim
On Thu, 2004-12-02 at 17:01, Barry Rowlingson wrote: Marc Schwartz wrote: Well...curiously, O'Reilly has selected the Ram for the cover of an as yet unpublished work on R for Bioinformatics: And how come Amazon are selling non-new copies of unpublished books? Is someone selling a

Re: [R] 2GB dataset

2004-11-27 Thread Ernesto Jardim
Hi, I've been using large datasets (GB) and I've stored them in MySQL databases and use RMySQL to access them. My feeling is that most of the times you don't need to keep the dataset in your workspace, but you need to access parts of it or aggregate it in some way, before run some analysis. So

Re: [R] R/S-related projects on Sourceforge? Trove Categorization

2004-11-17 Thread Ernesto Jardim
Hi, I have 2 _small_ projects hosted in sf.net that use R FLR :: R for fisheries science (http://flr.sf.net) fsap: fish stock assessment for R (http://sf.net/projects/fsap) The first one is getting some hip and the second is dying ... Hope it helps. Regards EJ On Wed, 2004-11-17 at 09:09,

RE: [R] R/S-related projects on Sourceforge? Trove Categorization - GDAL

2004-11-17 Thread Ernesto Jardim
Just a small correction. FLR and FSAp are not _my_ packages :-) For FLR there's a team working on its development. Regards EJ ps: my fault anyway, the first message was not clear. On Wed, 2004-11-17 at 16:52, [EMAIL PROTECTED] wrote: GDAL Package for R http://sourceforge.net/projects/rgdal

Re: [R] R code debugging

2004-11-09 Thread Ernesto Jardim
Hi, Check R's manual R Language Definition. Regards EJ On Tue, 2004-11-09 at 11:52, Timur Elzhov wrote: Dear useRs, it's quite difficult for me to find `Error:'s in my R code, because R does say about error itself, but say nothing about its location, say, string number and file with an

[R] Help with strange vertical line in plot

2004-10-19 Thread Ernesto Jardim
Hi, I'm ploting a portuguese map with plot but I'm getting a strange vertical line. To avoid posting binary files, I've rolled the data file, an R script and the resulted ps file in this tgz file http://ernesto.freezope.org/ploterror.tgz. Can someone give me an help on this ? Thanks EJ

[R] plot.ts: controling ylim and using expression in ylab

2004-10-19 Thread Ernesto Jardim
Hi, I'm using plot.ts for a multivariate time series and I want to define ylim for all plots. In the past I had to hack plot.mts to do it. Now I'm using the new plot.ts but I'm still having problems with ylim and it seems to ignore the expressions for ylab. Can someone help me on this ? EJ

Re: [R] memory increase for large r simulation

2004-09-28 Thread Ernesto Jardim
On Tue, 2004-09-28 at 07:09, shane stanton wrote: Hi, I am running R from windows 95. I have a large simulation, which R does not get very far through before telling me: error cannot allocate vector of size 871875 Kb and warning message reached total allocation of 127 Mb I have

Re: [R] debugging an S4 method

2004-09-03 Thread Ernesto Jardim
On Fri, 2004-09-03 at 21:54, Bickel, David wrote: Does anyone know how to use the equivalent of debug() on an S4 method? I would like R to enter the browser not for the generic function, but for the method of the class that I specify. There's non (that I know) ... you can insert the

[R] How to change pch in plot.factor ?

2004-08-26 Thread Ernesto Jardim
Hi, I want to change the symbol in plot.factor but using pch is not working. It keeps plotting the horizontal lines ... How can I do it ? Thanks EJ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] How to change pch in plot.factor ?

2004-08-26 Thread Ernesto Jardim
On Thu, 2004-08-26 at 16:42, Uwe Ligges wrote: Ernesto Jardim wrote: Hi, I want to change the symbol in plot.factor but using pch is not working. It keeps plotting the horizontal lines ... Have you read ?plot.factor. What kind of a symbol do you expect in a barplot or boxplot

Re: [R] newbie question: how to read a file into a matrix

2004-08-26 Thread Ernesto Jardim
On Thu, 2004-08-26 at 16:47, Gaby Aguilera wrote: I am trying to read a file with 8 columns and about 200 rows into a matrix. I tried something like: x-matrix(data=data.txt, nrow=200, ncol=8) but this produces a matrix with data.txt in it. Is there a way to read the data in? Any pointers

Re: [R] Is R good for not-professional-statistician, un-mathematical clinical researchers?

2004-08-19 Thread Ernesto Jardim
On Thu, 2004-08-19 at 07:45, Jacob Wegelin wrote: Alternate title: How can I persuade my students that R is for them? Alternate title: Can R replace SAS, SPSS or Stata for clinicians? I am teaching introductory statistics to twelve physicians and two veterinarians who have enrolled in a

RE: [R] How to add an object to an RData file ?

2004-07-29 Thread Ernesto Jardim
On Wed, 2004-07-28 at 20:07, Thomas Lumley wrote: On Wed, 28 Jul 2004, Liaw, Andy wrote: I guess it would be nice if save() has an `append' option... It would still have to read it in and out again, and then we would have all the issues about multiple objects with the same name.

Re: [R] Help w/ matrix calc

2004-07-29 Thread Ernesto Jardim
On Thu, 2004-07-29 at 12:38, [EMAIL PROTECTED] wrote: Dear All, Help is needed! I have a matrix with frequencies of fish larvae per length class (var. sl) and age-group (var. median.no) obtained with k-table(cut(sl,(5:22)),median.no) k[2:5,1:5] #to ilustrate k 4 5 6 7

Re: [R] Another big data size problem

2004-07-28 Thread Ernesto Jardim
On Wed, 2004-07-28 at 03:10, Federico Gherardini wrote: Hi all, I'm trying to read a 1220 * 2 table in R but I'm having lot of problems. Basically what it happens is that R.bin starts eating all my memory until it gets about 90%. At that point it locks itself in a uninterruptible

Re: [R] Another big data size problem

2004-07-28 Thread Ernesto Jardim
On Wed, 2004-07-28 at 12:40, Christian Schulz wrote: Hi, i'm working with a ~ 250.000 * 150 data.frame and can share your problems - i've upgraded last weekend my notebook from 512MB - 1024MB, it's really better especially for load, write.table , mysqlReadTable, mysqlWriteTable,

Re: [R] Another big data size problem

2004-07-28 Thread Ernesto Jardim
On Wed, 2004-07-28 at 16:26, Federico Gherardini wrote: On Wed, 28 Jul 2004 13:28:20 +0100 Ernesto Jardim [EMAIL PROTECTED] wrote: Hi, When you're writing a table to MySQL you have to be carefull if the table is created by RMySQL. The fields definition may not be the most adequate

[R] How to add an object to an RData file ?

2004-07-28 Thread Ernesto Jardim
Hi, I've saved an RData file with save and now I want to add a new object to this file. At the moment I do: attach(file.RData) save(list=c(new,obj, ls(pos=2)), file=file.RData, compress=T) detach() Is there a quicker method that just add the object to the file ? Thanks EJ

Re: [R] MySQL mismatch

2004-07-21 Thread Ernesto Jardim
On Wed, 2004-07-21 at 13:52, Joerg Schaber wrote: Hi, library(RMySQL) works, but connecting to the database results in Warning message: RS-DBI driver warning: (MySQL mismatch between compiled version 3.23.49 and runtime version 3.23.51) Any idea? Thanks, joerg Joerg, Have

Re: [R] vectorizing a matrix computation

2004-07-20 Thread Ernesto Jardim
On Tue, 2004-07-20 at 10:54, Wolski wrote: Hallo Christoph! Using apply and sweep. Both of them accept as the second argument (MARGIN) a vector which specifies the dimension. ?apply ?sweep. To specify the subscripts accurately I always need some trials, and to run tests, so I cant

[R] prior weights in binomial gam

2004-07-20 Thread Ernesto Jardim
Hi, I'm adjusting a binomial gam and I use the inverse variance of each proportion as weights in the gam function (it's a model for the sex ratio of hake). My doubt is what are these weights doing ? I get a negative UBRE and if I use GCV the scale parameter is close to 0 ... Regards EJ

Re: [R] Eclipse plugin for R or perhaps S-plus.

2004-07-19 Thread Ernesto Jardim
On Fri, 2004-07-16 at 21:26, Valentin Todorov wrote: Hi Richard, A couple of months ago I did some investigation but could not find anything. For some time I played with the idea to implement it myself, but I am still at nowhere. I am using WinEdt, unfortunately only on Windows. best

Re: [R] Eclipse plugin for R or perhaps S-plus.

2004-07-19 Thread Ernesto Jardim
On Mon, 2004-07-19 at 15:01, A.J. Rossini wrote: Ernesto Jardim [EMAIL PROTECTED] writes: Having a R module for eclipse could be very interesting. It works with OOP and UML so it might be possible in the future to design S4 methods in R with UML ;-) Not clear. Yes, in principle

[R] Problem with bwplot

2004-07-09 Thread Ernesto Jardim
Hi, I'm ploting some box-and-whisker plots with bwplot but I'm not getting any box-and-whiskers ... just dots. I'm using lattice 0.9-16 with R 1.9.1. Try library(lattice) rnorm(60)-vec1 rep(1:3,20)-vec2 rep(LETTERS[1:2],30)-vec3 bwplot(vec1~vec2|vec3) Thanks EJ

RE: [R] Problem with bwplot

2004-07-09 Thread Ernesto Jardim
Of Ernesto Jardim Sent: Friday, July 09, 2004 9:41 AM To: Mailing List R Subject: [R] Problem with bwplot Hi, I'm ploting some box-and-whisker plots with bwplot but I'm not getting any box-and-whiskers ... just dots. I'm using lattice 0.9-16 with R 1.9.1. Try library(lattice) rnorm(60

[R] useR! presentation on Generic functions for spatial data

2004-07-06 Thread Ernesto Jardim
Hi, If one of the authors (Roger Bivand, Edzer Pebesma and Barry Rowlingson) see this message, can you please send me the presentation. Thanks EJ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] R DataMining

2004-07-06 Thread Ernesto Jardim
On Tue, 2004-07-06 at 08:20, Vito Ricci wrote: Dear R-user, I wish to know if someone is using R as concern Datamining or KDD (Knowledge Discovery in Database) and if already exists a R package specialized in this kind of analysis. I found this contributes on the R web site: [20]

[R] Function for skewness

2004-07-05 Thread Ernesto Jardim
Hi, Is there a function to estimate the skewness of a distribution ? Thanks EJ __ [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

Re: [R] Function for skewness

2004-07-05 Thread Ernesto Jardim
On Mon, 2004-07-05 at 15:44, Marc Schwartz wrote: On Mon, 2004-07-05 at 09:49, Ernesto Jardim wrote: Hi, Is there a function to estimate the skewness of a distribution ? Thanks EJ See skewness() in CRAN package 'e1071'. HTH, Marc Schwartz Thanks EJ

Re: [R] Statistics Avec R (Vincente Zoonekynd): portuguese translation

2004-05-28 Thread Ernesto Jardim
On Fri, 2004-05-28 at 00:36, José Cláudio Faria wrote: Dears friends, I have been translating and extended, with educational porposes only, the available material in the www (http://zoonek2.free.fr/UNIX/48_R/all.html) Statistcs avec R for the Portuguese of Brazil. I consider the

[R] identation in Rd file, section details

2004-05-27 Thread Ernesto Jardim
Hi, I want to describe an algoritm in the details section of an Rd file and I'm having trouble to ident the different text rows. Can someone tell me how I can ident text in Rd files ? Thanks EJ __ [EMAIL PROTECTED] mailing list

Re: [R] indentation(?) in Rd file, section details

2004-05-27 Thread Ernesto Jardim
On Thu, 2004-05-27 at 17:18, Martin Maechler wrote: Ernesto == Ernesto Jardim [EMAIL PROTECTED] on Thu, 27 May 2004 15:55:51 +0100 writes: Ernesto Hi, I want to describe an algoritm in the details Ernesto section of an Rd file and I'm having trouble to Ernesto ident

Re: [R] RMySQL problem - SOLVED

2004-05-25 Thread Ernesto Jardim
, and then a dbReadTable and show that the number of rows is incorrect and post the code and results to the list. Sean On 5/25/04 7:24 AM, Ernesto Jardim [EMAIL PROTECTED] wrote: On Tue, 2004-05-25 at 11:00, Sean Davis wrote: The function that you are looking for is: help.search(writetable

[R] RMySQL problem

2004-05-24 Thread Ernesto Jardim
Hi, I'm using R 1.9.0 with RMySQL 0.5-4 and MySQL 3.23.55 on a suse 8.2 box. I have a simulation study and (as usual for newbies in simulation, I guess) I have a lot of data that I want to store in MySQL. I want to write an R script that reads data from RData files and writes it to a MySQL

Re: [R] Size of R user base

2004-04-21 Thread Ernesto Jardim
Hi, I agree with Christian. The monitoring must be done in a ACTIVE way by the user. I usually don't use software that has that kind of features and it annoys me to know that my computer is sending information to someone whithout my knowledge or permission. Best regards EJ On Tue, 2004-04-20

[R] is.infinite usage

2004-04-21 Thread Ernesto Jardim
Hi, Is there a way of using is.infinite as is.na ? I'd like to avoid looping the data.frame. mat x y z 1 1 Inf NA 2 2 Inf NA 3 3 Inf NA is.na(mat) x yz 1 FALSE FALSE TRUE 2 FALSE FALSE TRUE 3 FALSE FALSE TRUE What I get at the moment is is.infinite(mat) x y z

Re: [R] is.infinite usage

2004-04-21 Thread Ernesto Jardim
On Wed, 2004-04-21 at 15:53, Uwe Ligges wrote: Ernesto Jardim wrote: Hi, Is there a way of using is.infinite as is.na ? I'd like to avoid looping the data.frame. mat x y z 1 1 Inf NA 2 2 Inf NA 3 3 Inf NA is.na(mat) x yz 1 FALSE FALSE

[R] how to change text in lattice plot headers ?

2004-03-22 Thread Ernesto Jardim
Hi, I'm using lattice (bwplot) to produce some plots. I want to put the value of the parameter and use plotmath on the top bar of each plot. Is there an easy way to do it ? Thanks EJ __ [EMAIL PROTECTED] mailing list

[R] grep

2004-03-12 Thread Ernesto Jardim
Hi, I want to use the first digit of the elements of a vector. I've tried grep but didn't work. Any help is welcome. Thanks EJ grep(^[0-9],as.character(runif(100,0,2))) [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 19 20 21 22 23 24 25 26 27

Re: [R] problem with fitdistr ?

2004-02-18 Thread Ernesto Jardim
On Tue, 2004-02-17 at 18:59, Prof Brian Ripley wrote: Which version of MASS (not that you gave me any credit)? This works in the current 7.1-14. On Tue, 17 Feb 2004, Ernesto Jardim wrote: I'm trying fitdistr but I'm getting some errors fitdistr(rnorm(100),Normal) Error

[R] problem with fitdistr ?

2004-02-17 Thread Ernesto Jardim
Hi, I'm trying fitdistr but I'm getting some errors fitdistr(rnorm(100),Normal) Error in fitdistr(rnorm(100), Normal) : 'start' must be a named list fitdistr(rnorm(100),Normal,start=list(mean=0,sd=1)) Error in fitdistr(rnorm(100), Normal, start = list(mean = 0, sd = 1)) : supplying

RE: [R] PhD student reading list, suggestions wanted

2004-02-09 Thread Ernesto Jardim
On Mon, 2004-02-09 at 13:08, Liaw, Andy wrote: From: Ko-Kang Kevin Wang Hi, -Original Message- But above all, I would like her to use R whenever it's appropriate. We have MASS and Dalgaard's introductory book in the library here, I'm aware of S Poetry, but what do

Re: [R] nedit syntax highlighting patterns for R?

2004-02-09 Thread Ernesto Jardim
Hi, I've updated to version 5.3, maybe it's not on the web site. You can find it here http://ernesto.freezope.org/cmf/starthere/opensource/r/R-5.3.pats Best regards EJ On Mon, 2004-02-09 at 15:34, Michael Friendly wrote: I tried to install the syntax pattern file, R-5.1.pats (obtained from

[R] Packages debug and mvbutils

2004-01-22 Thread Ernesto Jardim
Hi, The article Debugging Without (Too Many) Tears (Rnews 3/3) describes the packages debug and mvbutils but it has no reference to where one can find those packages and they are not in CRAN. I've searched google but I can not find it :( A reference will be welcome. Thanks EJ

Re: [R] Spam-Filter @stat.math.ethz.ch: was dead for about 15 hours

2003-09-26 Thread Ernesto Jardim
On Fri, 2003-09-26 at 07:50, Martin Maechler wrote: As many of you have probably realized, the spam filtering at @stat.math.ethz.ch has been dead for since yesterday (09-25) ~16:50 till today ~08:30. The sudden death may have been caused by unrelated installation of some perl modules

[R] plot.ts

2003-09-24 Thread Ernesto Jardim
Hi, How can I force a plot.ts to draw a 2x2 plot matrix instead of 4x1 ? Regards EJ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] plot.ts doubt

2003-09-24 Thread Ernesto Jardim
Hi, I'm ploting a multivariate time series but I want to change the y labels. I've tried with ylab but I get an error plot(hke.ts,ylab=letters[1:5]) Error in plot.ts(x[, i], axes = FALSE, xlab = , ylab = , log = log, : formal argument ylab matched by multiple actual arguments I've

[R] problems making R 1.7.1

2003-09-17 Thread Ernesto Jardim
Hi, I'm building R 1.7.1 in a SuSE 8.2 box with the updated compiler from SuSE (gcc 3.1.1-16) and I'm getting this error: making dataentry.d from dataentry.c In file included from /usr/X11R6/include/X11/keysym.h:73, from dataentry.c:36:

Re: [R] Matrix resampling (bootstraps)

2003-09-09 Thread Ernesto Jardim
that by using the strata argument in boot. Change the matrix to a dataframe with columns for species, samples and observations and tell boot that species is the strata. Hope this helps EJ -- Ernesto Jardim [EMAIL PROTECTED] Biólogo Marinho/Marine Biologist IPIMAR - Instituto Nacional de Investigação Agrária

Re: [R] ploting 2 variables in a lattice xyplot

2003-09-09 Thread Ernesto Jardim
On Tue, 2003-09-09 at 16:35, Douglas Bates wrote: Ernesto Jardim [EMAIL PROTECTED] writes: Hi, I want to plot 2 variables (confidence intervals) in a single xyplot. I have a dataframe with variables Yup, Ylo, X and Z and I want to have a xyplot with both variables ploted. I'm trying

[R] boot with strata doubt

2003-09-04 Thread Ernesto Jardim
Hi, I'm using the boot package to bootstrap a linear model. The boot command is: blm01 - boot(mat, boot.fishpower, 1000, strata=boot.strata) I'm having several problems with the linear model so I decided to check the stratification. The first thing I did was checking the number of observations

[R] boot package

2003-09-03 Thread Ernesto Jardim
Hi, I'm getting this error that I don't understand can someone give an hint on this ? Thanks EJ boot.ci(blm01,type=bca,index=4) Error in if (const(t, min(1e-08, mean(t)/1e+06))) { : missing value where TRUE/FALSE needed __ [EMAIL PROTECTED]

[R] problem compiling R in suse8.2

2003-08-22 Thread Ernesto Jardim
Hi I'm trying to compile R in SuSE 8.2 (updated with the gcc 3.3.1) but I'm getting the following error: /usr/X11R6/include/X11/keysymdef.h:1181:2: invalid preprocessing directive #d make[4]: *** [dataentry.lo] Error 1 make[4]: Leaving directory `/usr/local/src/compile/R-1.7.1/src/modules/X11'

[R] unlist

2003-07-03 Thread Ernesto Jardim
Hi I have a list with several data.frames, all with the same number of colunms but different number of rows, and I'd like to transform this list into a single dataframe. I need to mimic an rbind of all dataframes ... Transform doesn't seem to work :-( Thanks EJ -- Ernesto Jardim [EMAIL

Re: [R] unlist

2003-07-03 Thread Ernesto Jardim
On Thu, 2003-07-03 at 17:57, Peter Dalgaard BSA wrote: Ernesto Jardim [EMAIL PROTECTED] writes: Hi I have a list with several data.frames, all with the same number of colunms but different number of rows, and I'd like to transform this list into a single dataframe. I need to mimic

[R] order in lapply

2003-07-02 Thread Ernesto Jardim
Hi When using split is it possible to keep then same ordering of the factor on the output list ? Thanks EJ -- Ernesto Jardim [EMAIL PROTECTED] Biólogo Marinho/Marine Biologist IPIMAR - Instituto Nacional de Investigação Agrária e das Pescas IPIMAR - National Research Institute for Agriculture

Re: [R] scales in xyplot doesn't seem to work for x axis

2003-06-06 Thread Ernesto Jardim
On Thu, 2003-06-05 at 18:26, Deepayan Sarkar wrote: On Thursday 05 June 2003 06:41, Ernesto Jardim wrote: Hi I'm doing a xyplot and I wand to reduce the number of tick marks in the x axis. My x axis are month and I want to reduce the 12 tick marks to 4. I used the scales argument

[R] scales in xyplot doesn't seem to work for x axis

2003-06-05 Thread Ernesto Jardim
,data=hom.land.mpa[hom.land.mpa$arte!=pseine,],type=l,scales=list(x=list(tick.number=4))) Regards EJ -- Ernesto Jardim [EMAIL PROTECTED] Marine Biologist IPIMAR, Lisboa, Portugal SuSE Linux 8.1;R 1.7.0;LyX 1.3.2;Gnome 2.2.2;OO1.1Beta __ [EMAIL

Re: [R] cook distance

2003-06-05 Thread Ernesto Jardim
On Wed, 2003-06-04 at 16:46, Michele Grassi wrote: where is the cook-distance in R? i can't find it!please help me! __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Hi Try ?cooks.distance it's a part of

[R] How to organize/develop an R function

2003-04-04 Thread Ernesto Jardim
Hi Maybe this is not an issue about R. It's probably a programming issue and I am not a developer at all. Anyway my main developing activities are in R and that's where I have difficulties. When I develop a function or group of functions I lose eternities with the objects attributes and classes.

[R] How to organize/develop an R function

2003-04-04 Thread Ernesto Jardim
Hi Maybe this is not an issue about R. It's probably a programming issue and I am not a developer at all. Anyway my main developing activities are in R and that's where I have difficulties. When I develop a function or group of functions I lose eternities with the objects attributes and classes.

[R] How to organize/develop an R function

2003-04-04 Thread Ernesto Jardim
gurus) develop your packages ? Thanks EJ -- Ernesto Jardim [EMAIL PROTECTED] Marine Biologist IPIMAR - National Research Institute for Agriculture and Fisheries Av. Brasilia, 1400-006 Lisboa, Portugal Tel: +351 213 027 000 Fax: +351 213 015 948 http://ernesto.freezope.org

[R] message

2003-04-04 Thread Ernesto Jardim
Hi This is a test message. I've tried to send some messages that never got throught. I'm just checking what's wrong. Sorry and don't bother answering. EJ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] combining dataframes

2003-03-22 Thread Ernesto Jardim
Hi I want to combine 2 dataframes (t1 and t2) in order to get a third one (t3). The dataframes are below. In SQL I would do something like: SELECT t1.f1,t1.f2,t1.f3,t2.f4 FROM t1, t2 WHERE t1.f1=t2.f1 AND t1.f2=t2.f2 How can I do it with R ? Thanks EJ t1 f1 f2 f3 1 A C E1 2 A D E2 3

[R] [Fwd: Your message to R-help awaits moderator approval]

2003-03-20 Thread Ernesto Jardim
I've received this message from the R list. What is this ? Why is my header suspicious ? EJ -Forwarded Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Your message to R-help awaits moderator approval Date: 20 Mar 2003 15:36:40 +0100 Your mail to 'R-help' with the

[R] weighted.mean and na.rm=T in R-1.6.2

2003-03-18 Thread Ernesto Jardim
Hi It looks like the na.rm flag is not working in function weighted.mean. weighted.mean(mat95$U,mat95$fpanual) [1] NA weighted.mean(mat95$U,mat95$fpanual,na.rm=TRUE) [1] NA mat95 - mat95[!is.na(mat95$fpanual),] weighted.mean(mat95$U,mat95$fpanual) [1] 14.93259 Regards EJ

Re: [R] weighted.mean and na.rm=T in R-1.6.2

2003-03-18 Thread Ernesto Jardim
. -roger ___ UCLA Department of Statistics [EMAIL PROTECTED] http://www.stat.ucla.edu/~rpeng On 18 Mar 2003, Ernesto Jardim wrote: Hi It looks like the na.rm flag is not working in function weighted.mean. weighted.mean(mat95$U,mat95$fpanual) [1] NA

[R] NA in dummy regression coefficients

2003-02-27 Thread Ernesto Jardim
Hi I'm doing a regression analysis with dummy variables and I'm getting NA for some coefficients. I've inspected residuals, leverage effects and Cook's distance and it seems ok. Can someone explains what can cause this problem ? Thanks EJ __

[R] Cook's distance in lm (1.6.1 vs 1.6.2)

2003-02-13 Thread Ernesto Jardim
Hi I found differences between the Cook's distance plot produced by R-1.6.1 and R-1.6.2, when analysing a linear model (lm). This was allready identified ? Regards EJ __ [EMAIL PROTECTED] mailing list

[R] shapiro.test

2003-02-10 Thread Ernesto Jardim
Hi The shapiro.test function outputs a value of the W statistic, which should be 1 if the distribution is normal, and a p-value for the test (as the documentation states). I'm a bit confused with some results. I'm getting a W=0.9977 and a p-value=0.1889. I was expecting that a W of 0.9977 would

[R] Problems with boot package (empinf returns NA)

2003-01-31 Thread Ernesto Jardim
Hi I'm using boot package for some analysis on linear regression coeficients. My problem is that I can not compute bca intervals, I get an error message bca.ci(blm8901,index=1) Error in if (!all(rk 1 rk R)) warning(Extreme Order Statistics used as Endpoints) : missing value where

[R] boot error message

2003-01-27 Thread Ernesto Jardim
) : missing value where logical needed When I plot index 1, the distribution is normal and the qq plot is good, so I don't understand where the extreme statistics come from, neither the missing value ... Regards EJ -- Ernesto Jardim [EMAIL PROTECTED] Marine Biologist IPIMAR - National Research

[R] memory problems

2003-01-24 Thread Ernesto Jardim
of memory and without R running I only have 112M of memory used. Is there something I can do to be able to perform this analysis ? (I can not by more memory ;-) Thanks EJ -- Ernesto Jardim [EMAIL PROTECTED] Marine Biologist IPIMAR - National Research Institute for Agriculture and Fisheries Av

RE: [R] memory problems

2003-01-24 Thread Ernesto Jardim
of Chemical Engineering The University of Queensland Brisbane Qld 4072 Australia [EMAIL PROTECTED] On Friday, January 24, 2003 10:02 PM, Ernesto Jardim [SMTP:[EMAIL PROTECTED]] wrote: Hi I'm computing a bca interval using bca.ci from the boot package. When I try to use this I get

[R] Exporting graphics window

2003-01-23 Thread Ernesto Jardim
Hi I'm working on a remote computer with R (SuSE 8.1) and I want to do some ploting. Does anyone knows if it is possible to export the graphics window in to my display and how I can do it ? Thanks EJ -- Ernesto Jardim [EMAIL PROTECTED] Marine Biologist Research Institute for Agriculture

[R] bootstraping lm

2003-01-16 Thread Ernesto Jardim
me with this ? Thanks EJ -- Ernesto Jardim [EMAIL PROTECTED] Marine Biologist Research Institute for Agriculture and Fisheries Lisboa, Portugal Tel: +351 213 027 000 Fax: +351 213 015 948 __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch

Re: [R] bootstraping lm

2003-01-16 Thread Ernesto Jardim
not able to replace the complete row of t.star. So statistic shall guarantee that all the outputs are of the same length. Something you might want to had to boot documentation. Regards EJ On Thu, 2003-01-16 at 12:44, Ernesto Jardim wrote: Hi I'm doing a bootstrap of a linear model using

Re: [R] bootstraping lm

2003-01-16 Thread Ernesto Jardim
: That's not a problem in boot, but a problem in your usage of it. On 16 Jan 2003, Ernesto Jardim wrote: Hi I found the problem (I hope:). In boot a data.frame with the expected results from statistic is created, t.star, wich has dim[[1]]=sum(R), the number of replicates

  1   2   >