[R] estimating mode

2004-01-30 Thread Z P
Dear all, I am considering a problem related to density regression. After we got the estimation of probability density function f(x), how can we estimate the mode of that population? Does the sm package support mode estimation? If not, is there any other function in R can estimate the mode

Re: [R] Memory clear problem

2004-01-30 Thread Uwe Ligges
Suzanne E. Blatt wrote: Hello. I think this is a simple problem. I have R running a program which generates variables that it 'remembers'. The trouble is that I've modified the file that it's generating these variables from but doesn't seem to realize that. When I type 'trees' - I get the

Re: [R] memory problem for R

2004-01-30 Thread Prof Brian Ripley
On Thu, 29 Jan 2004, Yun-Fang Juan wrote: Here is the exact error I got -- Read 73 items Error: cannot allocate vector of size 1953 Kb Execution halted --- I am running R on Freebsd 4.3 with double CPU and 2 GB memory Is that sufficient? Clearly

[R] Su requerimiento. [uid]078e98bc9346259a0c7552344053ba04[/uid]

2004-01-30 Thread soporte
Muchas gacias por su mensaje e interés en Vivendi Universal Games. Estamos trabajando lo más rápido posible en una solución a su pregunta. Gracias por su atención, Su equipo de soporte técnico Vivendi Universal Games. __ [EMAIL PROTECTED] mailing

[R] GLMM (lme4) vs. glmmPQL output (summary with lme4 revised)

2004-01-30 Thread Dieter Menne
This is a summary and extension of the thread GLMM (lme4) vs. glmmPQL output http://maths.newcastle.edu.au/~rking/R/help/04/01/0180.html In the new revision (#Version: 0.4-7) of lme4 the standard errors are close to those of the 4 other methods. Thanks to Douglas Bates, Saikat DebRoy for the

RE: [R] Doubt about pattern

2004-01-30 Thread Peter J. Acklam
Marcelo Luiz de Laia wrote: I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in .sens.. I execute the command below, files - dir(pattern=*.sens) That's not even a valid regular expression in most

Re: [R] Doubt about pattern

2004-01-30 Thread Stefano Calza
On Fri, Jan 30, 2004 at 12:46:44PM +0100, Peter J. Acklam wrote: ...cut... Stefano Calza [EMAIL PROTECTED] wrote: dir(pattern=\\.sens+$) That will find files ending with .sens, .senss, .sensss, etc. To find files ending with .sens., the regex is dir(pattern = \\.sens\\.$)

[R] lines in 3d-cloud plot (lattice)

2004-01-30 Thread Pascal A. Niklaus
Hi all, I'd like to plot a set of data (x,y,z) as 3D-cloud, and add several line plots to the same 3D graph: Two questions: 1) How do I connect points to get a line? cloud(z~x*y,data=d,zlim=c(0,1))# works cloud(z~x*predict(l),data=d,zlim=c(0,1),type=l) # type=l doesn't Warning

Re: [R] Object validation and formal classes

2004-01-30 Thread Torsten Steuernagel
On 29 Jan 2004 at 20:04, Robert Gentleman wrote: There are some efficiency issues that prevent constant checking (at least at the present time). There are also some other issues that need to be adequately addressed too. For example, suppose I had an object with two slots a - a

RE: [R] Doubt about pattern

2004-01-30 Thread Prof Brian Ripley
On Fri, 30 Jan 2004, Peter J. Acklam wrote: Marcelo Luiz de Laia wrote: I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in .sens.. I execute the command below, files - dir(pattern=*.sens) That's

RE: [R] Doubt about pattern

2004-01-30 Thread Peter J. Acklam
Prof Brian Ripley [EMAIL PROTECTED] wrote: Peter J. Acklam wrote: Marcelo Luiz de Laia wrote: files - dir(pattern=*.sens) That's not even a valid regular expression in most applications, but dir does allow it, for some reason. Anyway, I think you It is a valid regex in GNU's

Re: [R] memory problem for R

2004-01-30 Thread Spencer Graves
Hello, Yun-Fan: Prof. Ripley's comments will get you started. Part of the key is finding informative ways to subset and summarize the data so you don't try to read it all into R at once. You can read segments using arguments skip and nrows in read.table. You can then analyze a

Re: [R] Memory clear problem

2004-01-30 Thread Spencer Graves
Hi, Suzanne: R makes a copy of the file and does not operate on the original file. If you want R to see and process the changes, you must reread the file and rerun the script to recompute whatever you want. hope this helps. spencer graves Uwe Ligges wrote: Suzanne E. Blatt

[R] Sua mensagem não pôde ser entregue

2004-01-30 Thread iGMailer
ESTE EMAIL É AUTOMÁTICO. POR FAVOR, NÃO RESPONDA, POIS ELA NÃO SERÁ LIDA. Não foi possível entregar a sua mensagem. O destinatário não recebeu a sua mensagem. Veja a seguir a descrição do motivo. [EMAIL PROTECTED]: A caixa postal do destinatário excedeu o limite de capacidade de armazenamento e

RE: [R] estimating mode

2004-01-30 Thread Liaw, Andy
You can find some Splus code on Prof. Minnotte's web page: http://math.usu.edu/~minnotte/research/pubs.html. You can try and see if those can be use directly in R. If not, porting may not be too hard. Prof. Marron's `SiZer' might also be of interest, but I only know of the Matlab code that are

[R] How to plot a small figure in a bigger one???

2004-01-30 Thread jzhang10
Hi, I want to insert a small figure into a bigger plot. I saw people are doing this all the time, but I just could not figure out how to do it in R. Thanks for your help! Jinfeng Zhang __ [EMAIL PROTECTED] mailing list

[R] How to create own distance measure in cluster ?

2004-01-30 Thread Ricardo Zorzetto Nicoliello Vencio
Hi everyone, I want to create my own distance measure, other than 'euclidean' or 'manhatan', to use in cluster pckgs. To do this I think that I need to change dist(), in mva pckg, or daisy(), in cluster pckg. (or is there a cleaver way ?) But this functions are in fact things like: .Fortran(

Re: [R] Doubt about pattern

2004-01-30 Thread Gabor Grothendieck
Your question has by now been answered but I thought I would add that if you want to do it via file globbing on Windows rather than regular expressions then this function would help: list.files.glob - function( spec ) { # returns list of files or NULL if none: spec uses globbing and can #

Re: [R] How to generate a report with graphics and tables?

2004-01-30 Thread Rogers, James A [PGRD Groton]
Just to expand on an earlier suggestion: I have some data sets which change on a daily bases. So far I have imported these sets into R, done all my evaluations resulting in a couple of plots, charts and tables of numbers which I copypasted via clipboard into Powerpoint. The

RE: [R] How to create own distance measure in cluster ?

2004-01-30 Thread Liaw, Andy
The simplest way, if you have a function that returns the distance matrix, is to use as.dist(). E.g., myDist - function(...) { ## compute distance matrix dmat. ... return(as.dist(dmat)) } I believe most clustering algorithms in R will accept dist objects. If that doesn't do it, you

RE: [R]Running R remotely in Windows Environment? Thanks!

2004-01-30 Thread Jim Porzak
Thanks to Prof Ripley, Arne, Andy Bill for unambiguous suggestions! Linux box is on order. I'll take notes on our experience post a follow-up in a few weeks. May be useful to other folks stuck in the Windows world. -Jim At 06:24 AM 1/29/2004, Pikounis, Bill wrote: Jim, I would really like to

Re: [R] Doubt about pattern

2004-01-30 Thread Martin Maechler
Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Fri, 30 Jan 2004 08:56:59 -0500 (EST) writes: Gabor Your question has by now been answered but I thought Gabor I would add that if you want to do it via file globbing on Windows Gabor rather than regular expressions then this

[R] Robust nonlinear regression

2004-01-30 Thread cstrato
Dear R experts This is a general question: Does R have functions for nonlinear robust regression, analogous to e.g. LTS? Searching google I have found 1, an abstract to generalize LTS for nonlinear regression models, see: http://smealsearch.psu.edu/1509.html 2, an AD-model builder, see:

Re: [R] lines in 3d-cloud plot (lattice)

2004-01-30 Thread Tom Blackwell
Pascal - Getting away from Trellis graphics, you might consider using persp() with regular graphics. Look at example # 2 under help(persp). - tom blackwell - u michigan medical school - ann arbor - On Fri, 30 Jan 2004, Deepayan Sarkar wrote: On Friday 30 January 2004 06:13, Pascal A.

Re: [R] memory problem for R

2004-01-30 Thread Yun-Fang Juan
Pleaase see the comments below. Here is the exact error I got -- Read 73 items Error: cannot allocate vector of size 1953 Kb Execution halted --- I am running R on Freebsd 4.3 with double CPU and 2 GB memory Is that sufficient? Clearly

Re: [R] Object validation and formal classes

2004-01-30 Thread John Chambers
It was never the intention that validity checking happen automatically on _every_ assignment of an object from the class--since those assignments take place frequently during evaluation of functions, the overhead would be unacceptable. And as Robert points out, one needs to postpone validity

[R] coupled statistical models

2004-01-30 Thread W. C. Thacker
Can someone point me to the appropriate functions for fitting multiple statistical models that are coupled to each other. The data are measurements of salinity s and temperature t at stations id and pressures at p as well as surface elevations h at stations id. The problem is, for any new

[R] Measures of central tendency - mode

2004-01-30 Thread Patrick E. McKnight
Greetings, This seems too rudimentary to ask but for the life of me I cannot locate a readily easy method to compute the univariate mode. I know mode is not correct and table provides a reasonable count but I figured there would be an easy way to extract the value from the table after I do

[R] [Re: Error]

2004-01-30 Thread CS Graduate Information
Due to the very heavy volume of e-mail requests for information, we can no longer respond to individual requests for information. Instructions for applying to the Graduate Group in Computer Science can be received by visiting the Department of Computer Science website at:

Re: [R] Detect the presence of an object

2004-01-30 Thread Jeff Gentry
Is there a function like is.there such that is.there ( a ) returns TRUE is object 'a' is in the current environment and FALSE otherwise? exists() __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Detect the presence of an object

2004-01-30 Thread Paulo Justiniano Ribeiro Jr
try the function exists() On Fri, 30 Jan 2004, Francisco J Molina wrote: Is there a function like is.there such that is.there ( a ) returns TRUE is object 'a' is in the current environment and FALSE otherwise? Thank you. Francisco J. Molina

Re: [R] Detect the presence of an object

2004-01-30 Thread Spencer Graves
Have you considered exists or missing? hope this helps. spencer graves Francisco J Molina wrote: Is there a function like is.there such that is.there ( a ) returns TRUE is object 'a' is in the current environment and FALSE otherwise? Thank you. Francisco J. Molina

Re: [R] exporting directly to a file

2004-01-30 Thread Spencer Graves
Have you considered sink? hope this helps. spencer graves Christian Landry wrote: Hi, I would like to know what is the function in R that allows exporting results of an operation directly to a file as the analysis is running. I am performing an analysis on a large matrix and

Re: [R] Trouble plotting with factor

2004-01-30 Thread Marc Schwartz
On Fri, 2004-01-30 at 15:04, Paul Johnson wrote: With R 1.8.1 running in Fedora Core 1 Linux, I am having some trouble recoding and ploting some factor variables. First, can I give you some example data? Here is a column of names for age groups: agegroups - c( 15-19, 20-24,