Re: [R] persp graphs

2003-09-22 Thread Petr Pikal
Hallo If you have data set not appropriate for persp plotting directly, maybe you can find some help in interp() function from akima package. Cheers Petr Pikal On 20 Sep 2003 at 11:41, Mario Alberto Cozzuol wrote: Hi, I am doing my way on R, with much experimenting. So, I am trying to

[R] Z aware interpolation - clarification

2003-09-22 Thread Edzer J. Pebesma
Monica, gstat has interpolation facilities for real 3D data: IDW, as well as variogram modelling kriging prediction and simulation. Try: library(gstat) demo(gstat3D) gstat exists as an R package, as well as a stand alone binary. The package is at CRAN, the rest at www.gstat.org best regards, --

[R] Neural Network Question

2003-09-22 Thread Hannah Wood
Hi, I'm using the R nnet package to train a classifier to recognise items which belong to a particular class and those which don't belong to the class. I'm supplying nnet with a matrix x containing training examples (in each row) and a matrix y of targets. The training set is made up of 200

[R] Data frame from list of lists

2003-09-22 Thread Gregory Jefferis
This seems to be a simple problem, and I feel that there ought to be a simple answer, but I can't seem to find it. I have a function that returns a number of values as a heterogeneous list - always the same length and same names(), but a number of different data types, including character. I

[R] (no subject)

2003-09-22 Thread Roberto Basile
Hi, I have a problem to understand the use of subsets of data while running a regression model. In particular, I am using sm.regression with these commands plot(lndip96,gdip,col=1,type= n) sm.regression(add=T,lndip96,gdip) and I must run this model for two subsets of the data; in particular

[R] how to use jEdit instead of notepad

2003-09-22 Thread Bruno Jesus
Dear all, I've changed the Rprofile file so that jedit would start instead of notepad whenever I use the fix() command, however nothing get saved when I close the editor. Any hints on how to use jEdit in a similar fashion to the winedt? many thanks in advance, bruno

Re: [R] xgobi vs ggobi

2003-09-22 Thread Christian Hennig
Hi Ted, here is something rather imprecise. I have both xgobi and ggobi on my computer. Up to now, I used almost always xgobi, because it contains the features that I need. Some of these are not in ggobi (e.g. mean/sd and med/mad standardization). ggobi has also some instabilties (no details now,

[R] weighting the OLS regression by the inverse of the number of observations

2003-09-22 Thread Susana Bird
Dear R-proffecionals and users, I have the following two questions. I have the cross-country sample. The obeservaions in each country varie substantially and could not use it for the regression because I have several outliers. I do not want to lose any information from the sample and would

[R] anybody running Rggobi on a redhat 9.0 system?

2003-09-22 Thread Christoph Lehmann
Hi my installation of ggobi (!) was successful, but when I try to install Rggobi as described on http://www.ggobi.org/INSTALL.html: as non-su: R_HOME=/usr/lib/R export R_HOME GGOBI_ROOT=/usr/local/src/ggobi export GGOBI_ROOT R_LIBS=/usr/lib/R/library export R_LIBS as: su ln -s

Re: [R] xgobi vs ggobi

2003-09-22 Thread Ko-Kang Kevin Wang
Hi, On Mon, 22 Sep 2003, Christian Hennig wrote: Hi Ted, here is something rather imprecise. I have both xgobi and ggobi on my computer. Up to now, I used almost always xgobi, because it contains the features that I need. Some of these are not in ggobi (e.g. mean/sd and med/mad

Re: [R] anybody running Rggobi on a redhat 9.0 system?

2003-09-22 Thread Uwe Ligges
Christoph Lehmann wrote: Hi my installation of ggobi (!) was successful, but when I try to install Rggobi as described on http://www.ggobi.org/INSTALL.html: as non-su: R_HOME=/usr/lib/R export R_HOME GGOBI_ROOT=/usr/local/src/ggobi export GGOBI_ROOT R_LIBS=/usr/lib/R/library export R_LIBS as: su

[R] R installation

2003-09-22 Thread Jason Skelton
Hi further to my upgrade question thanks for pointing me in the right direction any ideas how I get round the following problem: I'm trying to install on a Tru64 alpha ecs1h[jps]69: make `Makedeps' is up to date. `libappl.a' is up to date. `Makedeps' is up to date. `libnmath.a' is up to date.

RE: [R] Data frame from list of lists

2003-09-22 Thread Liaw, Andy
Don't know if this will be any faster, and it doesn't give you a data frame, but the final conversion to data frame is probably fairly easy: xx - do.call(rbind, lapply(ListOfLists, function(x) do.call(cbind, x))) xx A L T [1,] 1 a 1064233098 [2,] 2 b 1064233098 [3,] 3 c

Re: [R] indexing, subsets, or: not willing to read a manual; was: (no subject)

2003-09-22 Thread Uwe Ligges
Roberto Basile wrote: Hi, I have a problem to understand the use of subsets of data while running a regression model. So, why don't you read a manual or some help pages? Since you already talked about subsets, I would have taken a look at ?subset which points you also to ?[ Please use a sensible

Re: [R] Z aware interpolation

2003-09-22 Thread David Richard John Pleydell
Hi Monica geoR enables you to do universal kriging, kriging where the mean is modelled on one or more Z variables, you can do this by specifying the trend component (your Z variable) with the likfit function (if you are using maximum liklihood based methods), or with variog function which is

[R] RE: persp and soil PH data.

2003-09-22 Thread Mario DOS REIS
Hi, What you want to do, i.e. plot a surface representig PH values vs. geographical coordinates is not trivial enough as to be easily explained here. Your set of points x, y, and pH are not good enough to feed them straight into persp as many people have already pointed out. You must fit a

[R] weighted standard deviation

2003-09-22 Thread Schnitzler, Johannes
Dear all, is there an implemented function to compute a weighted standard deviation (-like weighted.mean-) in R ? Thank's a lot in advance Johannes Schnitzler __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] weighted standard deviation

2003-09-22 Thread Uwe Ligges
Schnitzler, Johannes wrote: Dear all, is there an implemented function to compute a weighted standard deviation (-like weighted.mean-) in R ? No, AFAIK. In particular, I'm interested in your definition of a weighted standard deviation (incl. a reference to that definition). Uwe Ligges

Re: [R] weighted standard deviation

2003-09-22 Thread Sundar Dorai-Raj
Perhaps cov.wt will do what you want? Schnitzler, Johannes wrote: Dear all, is there an implemented function to compute a weighted standard deviation (-like weighted.mean-) in R ? Thank's a lot in advance Johannes Schnitzler __ [EMAIL PROTECTED]

[R] Updating a linear model

2003-09-22 Thread Paul Meagher
Say I have collected data and used it to construct a linear model. I now have a new observation and want to use it to update my linear model. Is there a more efficient way to update the model than recomputing the linear model from the complete data set? In other words, can I incrementally

Re: [R] Saving with tkgetSaveFile

2003-09-22 Thread Peter Dalgaard BSA
Thomas W Blackwell [EMAIL PROTECTED] writes: Ruben - Why not simply save(x, file=new.file.name) ? See help(save), help(files). The file name must be quoted, and it must be passed as a named argument to save(). That's not the issue. tclvalue(a) instead of as.character(a) should be

[R] a question about the pls.pcr package

2003-09-22 Thread Rajarshi Guha
Hi, I downloaded the pls.pcr package and was experimenting with some of my data. I have two files: the first contains the obervation matrix, each line consisting of the parameters for one observation. The other file contains the dependant variable (one value per line). The steps I do to do a

[R] setting up different project directories in R

2003-09-22 Thread gregciresi
I am a novice R user looking to set up different project directories. In my S+ shortcuts, in the Target field, I use Splus.exe S_PROJ=D:\MYWORK Splus.exe S_PROJ=D:\MYWORK2 etc. Is there a similar way to set up the shortcuts in R? Would it make sense in R to use multiple shortcuts

Re: [R] weighted standard deviation

2003-09-22 Thread Dirk Eddelbuettel
On Mon, Sep 22, 2003 at 05:12:07PM +0200, Uwe Ligges wrote: Schnitzler, Johannes wrote: Dear all, is there an implemented function to compute a weighted standard deviation (-like weighted.mean-) in R ? No, AFAIK. In particular, I'm interested in your definition of a weighted standard

Re: [R] Updating a linear model

2003-09-22 Thread Thomas Lumley
On Mon, 22 Sep 2003, Paul Meagher wrote: Say I have collected data and used it to construct a linear model. I now have a new observation and want to use it to update my linear model. Is there a more efficient way to update the model than recomputing the linear model from the complete data

Re: [R] setting up different project directories in R

2003-09-22 Thread Thomas Lumley
On Mon, 22 Sep 2003 [EMAIL PROTECTED] wrote: I am a novice R user looking to set up different project directories. In my S+ shortcuts, in the Target field, I use Splus.exe S_PROJ=D:\MYWORK Splus.exe S_PROJ=D:\MYWORK2 etc. Is there a similar way to set up the shortcuts in R?

[R] number of distinct values in a dataframe

2003-09-22 Thread Rado Bonk
Hi R-users, How can I found the number of a distinct values in a data frame (occurrence of distinct values)? The dataframe consists of several thousands integer numbers. Thanks, Rado -- Radoslav Bonk M.S. Dept. of Physical Geography and Geoecology Faculty of Sciences, Comenius University

Re: [R] Updating a linear model

2003-09-22 Thread Paul Meagher
My google search for Plackett's Algorithm didn't return too much except that Plackett's algorithm appears to be useful in Control Theory - it is elaborated as Plackett's algorithm for on-line recursive least squares estimation. Sounds something like what I want. I am looking at developing a user

Re: [R] number of distinct values in a dataframe

2003-09-22 Thread Douglas Bates
Rado Bonk [EMAIL PROTECTED] writes: How can I found the number of a distinct values in a data frame (occurrence of distinct values)? The dataframe consists of several thousands integer numbers. It is not clear if you are asking about the number of unique values in a column in a data frame or

Re: [R] Data frame from list of lists (Quick Summary)

2003-09-22 Thread Gregory Jefferis
Here is a quick summary, since I always like it when people post the useful answers they get (thanks very much to the three respondents). What I learnt was (and apologies to those list members for whom these are not exactly revelations): 1) When making dataframes, work column-wise not row-wise

[R] Managing a list with a list

2003-09-22 Thread
OK. Another amateur question. I have a list with attributes on pine trees, like the stem's location, a logical value set to T if it's alive, some parameters for growth, diameter, etc. The tree list has another list in it which is a new data type for me. I want to make a new list that retains

Re: [R] number of distinct values in a dataframe

2003-09-22 Thread Thomas Lumley
On Mon, 22 Sep 2003, Douglas Bates wrote: Rado Bonk [EMAIL PROTECTED] writes: How can I found the number of a distinct values in a data frame (occurrence of distinct values)? The dataframe consists of several thousands integer numbers. It is not clear if you are asking about the number

Re: [R] Updating a linear model

2003-09-22 Thread Jason Turner
On Tue, 2003-09-23 at 07:02, Paul Meagher wrote: My google search for Plackett's Algorithm didn't return too much except that Plackett's algorithm appears to be useful in Control Theory - it is elaborated as Plackett's algorithm for on-line recursive least squares estimation. Sounds something

Re: [R] number of distinct values in a dataframe

2003-09-22 Thread John Fox
Dear Rado and Doug, At 02:13 PM 9/22/2003 -0500, Douglas Bates wrote: Rado Bonk [EMAIL PROTECTED] writes: How can I found the number of a distinct values in a data frame (occurrence of distinct values)? The dataframe consists of several thousands integer numbers. It is not clear if you are

[R] Compiling shared library on Alpha/OSF1

2003-09-22 Thread John Garvin
I'm having trouble compiling and installing R as a shared library on Alpha/OSF1. I used ./configure --enable-R-shlib SHLIB_CXXLDFLAGS=-L/lib/cmplrs/cxx (Using configure with --enable-R-shlib alone generated Could not determine SHLIB_CXXLDFLAGS errors.) make and everything else were done as

[R] ksmooth in SPLUS vs R

2003-09-22 Thread Jean Eid
I am working with a model that I have to estimate a nonparametric function. The model is partial linear i.e. Y=X$\beta$ + f(z) + $\epsilon$ I am using the ' double residual methods' Robinson (1988) Speckman (1988) where I estimate a nonparametric function for each of the parametric variables in

[R] Help on Time series seasonal Models in R package

2003-09-22 Thread Balaji Krithikaivasan
Hi there, I am a graduate student using R for time series modeling. I have a weeks data with 96 data per day. I am trying to use a seasonal model with period of 96 (the size of the total data is 480) to fit the data after deriving the order information from ACF and PACF plots. But, I am

Re: [R] ksmooth in SPLUS vs R

2003-09-22 Thread Jean Eid
Please do forget my questions as they are really trivial and I do not kno what I was thinking of. Thank you thomas for clarifying my cloudy head today. jean, On Mon, 22 Sep 2003, Jean Eid wrote: I am working with a model that I have to estimate a nonparametric function. The model is partial

[R] searching R-help within a function

2003-09-22 Thread Olivia Lau
Hi, I am working on a package which requires separate documentation (tutorial documentation, really, with a lot of beautifully latexed equations), and does not use R-help. I am trying to make it so that my help function will automatically search R-help if the help topic isn't found in my

[R] ANOVA(L, Terms...)

2003-09-22 Thread Francisco J. Zagmutt Vergara
Hi There I have a lm object with 4 parameters and I want to test wether 2 parameters are equal using a Wald test (basically b1=b2 or b1-b2 =0). In the help file from R it says that under ANOVA the optional arguments Terms or L test whether a linear combination is equal to 0. I tried;

[R] what does the sum of square of Gaussian RVs with different variance obey?

2003-09-22 Thread Jean Sun
From basic statistics principle,we know,given several i.i.d Gaussian RVs with zero or nonzero mean,the sum of square of them is a central or noncentral Chi-distributed RV.However if these Gaussian RVs have different variances,what does the sum of square of them obey? Thanks in advance.

[R] Very small estimated random effect variance (lme)

2003-09-22 Thread Remko Duursma
Dear R-helpers, i get some strange results using a linear mixed-effects model (lme), of the type: lme1 - lme(y ~ x, random=~x|group, ...) For some datasets, i obtain very small standard deviations of the random effects. I compared these to standard deviations of the slope and intercept using a

[R] R Production Performance

2003-09-22 Thread Zitan Broth
Greetings All, Been playing with R and it is very easy to get going with the UI or infile batch commands :-) What I am wondering is how scalable and fast R is for running as part of a web service. I believe R is written in C which is a great start, but what are peoples general thoughts on

[R] R-project [.com?] [.net?]

2003-09-22 Thread Murray Jorgensen
I got a shock a few days ago when I accidentally visited www.r-project.com . I thought that the r-project site had been hacked until I realised my mistake. There is also a site www.r-project.net. Both of these sites appear to be Japanese. Does anyone know anything about them? I suppose that it

RE: [R] R-project [.com?] [.net?]

2003-09-22 Thread Simon Blomberg
To add to the confusion, there is some statistical software for multivariate and spatial analysis called the R package. http://www.fas.umontreal.ca/biol/casgrain/en/labo/R/index.html Although this link appears to be broken at the moment. Simon. Simon Blomberg, PhD Depression Anxiety Consumer