Re: [R] What's wrong with ar for my data?

2003-06-18 Thread Prof Brian Ripley
You are apparently fitting a series for which the selected order is zero, and ar.burg is not designed to cope with that (and would in any case tell you nothing useful). The default method does cope, from your output. Why are you fitting an AR model to a series with apparently no correlation? O

[R] Path analysis

2003-06-18 Thread Regis Martin
Dear all, I'm new R's user and I'm looking for package dealling with Path analysis. Does it exist ? Where ? Best, Regis Martin PhD Student Laboratory of Altitutdinal Population Biology UMR CNRS 5553 Universté de Savoie Bât. Belledonnes 00 33 (0)4 79 75 86 44 [EMAIL PROTECTED] _

Re: [R] Multiple graph sheets

2003-06-18 Thread Prof Brian Ripley
On Wed, 18 Jun 2003, Paul, David A wrote: > In Splus the code > > test.lm <- lm(y ~ x, data = test.data) > plot(test.lm) > > generates a graphics window that contains > multiple graph sheets that one may choose > from via the "page" tabs at the bottom of > the window. > > Is there a way to do

[R] What's wrong with ar for my data?

2003-06-18 Thread zhu wang
Dear helpers, When I use ar to fit the data with length 180, I have the following error: ar(x,method="burg") Error in acf(x, type = "covariance",lag.max=order,plot=FALSE): lag.max must be at least 1 If I use ar(x), then I have Call (x=x) order selected 0 sigma^2 estimated as 5374

[R] Import time series data with uneven dates

2003-06-18 Thread Ariel Andres
I am trying to import a file of daily index closing prices in business time which excludes weekends and holidays so deltat is not constant. My file looks like the following: dateclose 2003.0055 47.05 2003.0082 45.71 2003.0164 43.45 2003.0192 42.96 2003.0219 44.56 2003.0247 4

[R] R via Browser

2003-06-18 Thread Chunlou Yung
It seems all R-to-CGI libraries (all two of them, which I'm aware) run only on Unix/Linux (but I use Windows) and create temporary files to pass R commands. So, I wrote a short Apache-based Perl CGI script to execute R commands on browser without needing temporary files--just for fun, babyish, no

[R] Multiple graph sheets

2003-06-18 Thread Paul, David A
In Splus the code test.lm <- lm(y ~ x, data = test.data) plot(test.lm) generates a graphics window that contains multiple graph sheets that one may choose from via the "page" tabs at the bottom of the window. Is there a way to do this sort of thing in R? As another example, I have some repeated

Re: [R] Ltsreg and nsamp="exact"

2003-06-18 Thread Prof Brian Ripley
Are subsets of your data collinear? On Wed, 18 Jun 2003, Christopher Adolph wrote: > > I'm trying to use least trimmed squares using ltsreg with nsamp="exact". > When I use the following: > > rg <- ltsreg(x,y,nsamp="exact") > > I get: > > Error in lqs.default(x, y, nsamp = "exact", method = "

[R] Ltsreg and nsamp="exact"

2003-06-18 Thread Christopher Adolph
I'm trying to use least trimmed squares using ltsreg with nsamp="exact". When I use the following: rg <- ltsreg(x,y,nsamp="exact") I get: Error in lqs.default(x, y, nsamp = "exact", method = "lts") : NAs in foreign function call (arg 10) In addition: Warning message: NAs introduced by c

Re: [R] 3-way Interactions w/ stepAIC

2003-06-18 Thread Prof Brian Ripley
On Wed, 18 Jun 2003 [EMAIL PROTECTED] wrote: > I'm attempting to use stepAIC to select a model through a forward procedure. > I want to consider up to all 3-way interactions. > > > > I've attempted to use the following code: > > > > m2.Fwd3way <- stepAIC(m1.Ionly, direction="forward", > >

[R] 3-way Interactions w/ stepAIC

2003-06-18 Thread MZodet
I'm attempting to use stepAIC to select a model through a forward procedure. I want to consider up to all 3-way interactions. I've attempted to use the following code: m2.Fwd3way <- stepAIC(m1.Ionly, direction="forward", scope=list(upper=~(var1 + var2 + var3 + var4)^3

[R] Mandrake rpms - R 1.7.1

2003-06-18 Thread mikalzet
Mandrake RPM's (and the relevant SRPM) for 8.0, 8.2, 9.0 and 9.1 have been uploaded; 8.1 fails on make check of one of the packages, I'm looking into this and hope to upload the rpm in a while (let's say that requests for this rpm might stimulate me into doing this in a short time, absence of

Re: [R] finding contours in a matrix

2003-06-18 Thread Roger D. Peng
You may be interested in this message (from the archives): https://www.stat.math.ethz.ch/pipermail/r-help/2003-June/033583.html -roger Douglas Beare wrote: Hi, I have matrix of sea bottom depths that I am plotting in R with the function 'image'. I am particularly interested in the 200m depth con

Re: [R] R: Debian package and source

2003-06-18 Thread Dirk Eddelbuettel
On Wed, Jun 18, 2003 at 07:11:19PM +0200, Peter Dalgaard BSA wrote: > "David Andel" <[EMAIL PROTECTED]> writes: > > > Hi > > > > As Dirk said before, if you're running unstable, the official > > version is surely the best. If you're running testing though, you're > > probably better off using the

Re: [R] Macintosh plots

2003-06-18 Thread Roger D. Peng
What is d1? The plot function itself is generic and does not necessarily do anything. It might be that the d1 object is of a particular class and the plot method for that class changes the background, point color, etc. You could try par(bg = "transparent") but it's possible that the plot me

Re: [R] dyn.load() function problem help!

2003-06-18 Thread Duncan Murdoch
On Wed, 18 Jun 2003 09:09:10 -0700 (PDT), you wrote in message <[EMAIL PROTECTED]>: > Duncan Murdoch has information at > http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/ >that describes how to do this for various compilers. Even if your's isn't >on the list this might still be helpf

Re: [R] R: Debian package and source

2003-06-18 Thread Peter Dalgaard BSA
"David Andel" <[EMAIL PROTECTED]> writes: > Hi > > As Dirk said before, if you're running unstable, the official > version is surely the best. If you're running testing though, you're > probably better off using the apt sources listed in > http://cran.us.r-project.org/bin/linux/debian/ReadMe sinc

Re: [R] R: Debian package and source

2003-06-18 Thread David Andel
Hi As Dirk said before, if you're running unstable, the official version is surely the best. If you're running testing though, you're probably better off using the apt sources listed in http://cran.us.r-project.org/bin/linux/debian/ReadMe since there are some dependency hassles with installing

RE: [R] dyn.load() function problem help!

2003-06-18 Thread Prof Brian Ripley
On Wed, 18 Jun 2003, Thomas Lumley wrote: > On Wed, 18 Jun 2003, Mu Yunming wrote: > > > > > > My source code is writen in fortran 90 and i complied the source code using > > command f90. How do you think I should complie my source file and build the > > shared library? > > > > You probably need

Re: [R] finding contours in a matrix

2003-06-18 Thread Roger Bivand
On Wed, 18 Jun 2003, Douglas Beare wrote: > Hi, > I have matrix of sea bottom depths that I am plotting in R with the function > 'image'. > I am particularly interested in the 200m depth contour (I'm using 'distance > from this feature' as a covariate in a model) and would like to extract the > da

Re: [R] R: Debian package and source

2003-06-18 Thread A.J. Rossini
The most updated version is usually the official one, these days. Dirk is an excellent maintainer. [EMAIL PROTECTED] writes: > Hi, > where can I find the most up-to-date Debian packages for R and sources in > USA. I will be thankful for the location that I can include in my sources.list. > Ar

Re: [R] R: Debian package and source

2003-06-18 Thread Dirk Eddelbuettel
On Wed, Jun 18, 2003 at 11:35:40AM -0400, [EMAIL PROTECTED] wrote: > Hi, > where can I find the most up-to-date Debian packages for R and sources in > USA. I will be thankful for the location that I can include in my sources.list. Ahem, that is more a question for [EMAIL PROTECTED],debian.org, n

RE: [R] dyn.load() function problem help!

2003-06-18 Thread Thomas Lumley
On Wed, 18 Jun 2003, Mu Yunming wrote: > > > My source code is writen in fortran 90 and i complied the source code using > command f90. How do you think I should complie my source file and build the > shared library? > You probably need to figure this out: R doesn't explicitly support F90 on any

RE: [R] dyn.load() function problem help!

2003-06-18 Thread Mu Yunming
First of all, thank you very much for your quick response. >= Original Message From Prof Brian D Ripley <[EMAIL PROTECTED]> = >On Wed, 18 Jun 2003, Mu Yunming wrote: > >> Hi! >> >> I would like to call a Fortran subroutine within R. For doing this, I first >> built a shared library for loa

Re: [R] dyn.load() function problem help!

2003-06-18 Thread Prof Brian D Ripley
On Wed, 18 Jun 2003, Mu Yunming wrote: > Hi! > > I would like to call a Fortran subroutine within R. For doing this, I first > built a shared library for loading into R under Unix and it was successful. How did you do this? Did you use R CMD SHLIB? > But when I tried to load a shared library us

[R] R: Debian package and source

2003-06-18 Thread TyagiAnupam
Hi, where can I find the most up-to-date Debian packages for R and sources in USA. I will be thankful for the location that I can include in my sources.list. Are their any special recommendations or instructions for building and maintaining R on Debian? A web-link will be helpful. ---anupam.

[R] dyn.load() function problem help!

2003-06-18 Thread Mu Yunming
Hi! I would like to call a Fortran subroutine within R. For doing this, I first built a shared library for loading into R under Unix and it was successful. But when I tried to load a shared library using dyn.load() function for use in .Fortran(), I got an error message. The command I input bel

[R] fitting two nonlinear mixed models simulataneously

2003-06-18 Thread Attila Frigyesi
Dear R users, Being a R-novice using version 1.7.0 I have not managed to solve the following problem, so I turn to you: I have 12 pairs nonlinear curves having some parameters (p1,p2,p3) in common and others specific to one of the curves (p4a,p4b). I want to fit a nonlinear mixed model with nmle

[R] A slight weird diversion

2003-06-18 Thread Zed Shaw
Hi Folks, This is a totally off-topic diversion that I thought people might find fun. I've been working on a small parser framework that I'm integrating into Obversive to provide code analysis of R scripts and stuff. It is still a work in progress, but the parser currently can parse R code an

Re: [R] finding contours in a matrix

2003-06-18 Thread Spencer Graves
A question very much like this was answered two days ago. I couldn't find it from "www.r-project.org" -> search -> R Site Search. When I went "search" -> "searchable mail archives" -> "r-help" -> "date view", I found it. I found two replies with "isocontour-lines" in the subject, both dated

Re: [R] Forward stepwise procedure w/ stepAIC

2003-06-18 Thread Prof Brian Ripley
It starts with the initial model you gave it, which contains all your explanatory variables already. You presumably wanted to use a simpler model to start with. As in: Arguments: object: an object representing a model of an appropriate class. This is used as the initial model in t

Re: [R] Forward stepwise procedure w/ stepAIC

2003-06-18 Thread Spencer Graves
What's "m1"? Is it a fit to a ~1? I've used my own modification of stepAIC many times preceeded by "m1 <- lm(y~1, data=...)", and it has worked fine for me. hth. spencer graves [EMAIL PROTECTED] wrote: I'm attempting to select a model using stepAIC. I want to use a forward selection procedu

Re: [R] globle variable

2003-06-18 Thread Spencer Graves
Have you considered "get" or "assign"? If these do not seem appropriate, you may wish to resubmit your question being more specific, providing a very brief example of what you want to do. hth. spencer graves Ken Lee wrote: > Hi all, > Could I claim globle variable? > > Thank's > > Ke

[R] Forward stepwise procedure w/ stepAIC

2003-06-18 Thread MZodet
I'm attempting to select a model using stepAIC. I want to use a forward selection procedure. I have specified a "scope" option, but must not be understanding how this works. My results indicate that the procedure begins and ends with the "full" model (i.e., all 17 independent variables)...not wh

[R] menu

2003-06-18 Thread solares
Hello, my question is on as doing a submenu, therefore in all the examples that saw alone is used tkmenu and a ready one is created without possibility of a submenu for example: topmenu <- tkmenu (ventmenup) tkconfigure (ventmenup, menu = topmenu) archMenu <-tkmenu(topmenu,tearoff = FALSE) tkad

Re: [R] outlier

2003-06-18 Thread Prof Brian D Ripley
Please do read the help page. which explains this is a random algorithm. In your example you can try cov.rob(ap, cor=TRUE, nsamp="exact") On Wed, 18 Jun 2003, kan Liu wrote: > I wrote a .R file (see below)to calculate robust > measure of correlation using cov.rob. I got different > correlation c

Re: [R] downloading packages and AntiVirus program

2003-06-18 Thread Ott Toomet
Hi, try to download http://www.obs.ee/~siim/RODBC_1.0-3 (without .zip) and to rename it to .zip on your own computer. Perhaps it helps. Ott | Date: Wed, 18 Jun 2003 11:28:06 +0100 (BST) | From: (Ted Harding) <[EMAIL PROTECTED]> | | On 18-Jun-03 RINNER Heinrich wrote: | > Dear R-users!

Re: [R] outlier

2003-06-18 Thread kan Liu
I wrote a .R file (see below)to calculate robust measure of correlation using cov.rob. I got different correlation coefficients (0.70, 0.79, 0.63, ...) when I run the file different times. Can you tell me what this means or what is wrong in using cov.rob? - library(lqs) a <- c(5.41,4.6

[R] finding contours in a matrix

2003-06-18 Thread Douglas Beare
Hi, I have matrix of sea bottom depths that I am plotting in R with the function 'image'. I am particularly interested in the 200m depth contour (I'm using 'distance from this feature' as a covariate in a model) and would like to extract the data at evenly spaced points along it. I can easily sup

Re: [R] R environment variable

2003-06-18 Thread Duncan Murdoch
On Wed, 18 Jun 2003 11:09:41 +0100 (BST), you wrote: >which R environmen variable can be used to point to >x1.R so that it can be sourced in any directory? I don't think there is such a thing. source() looks in the current working directory, it doesn't use environment variables to do a wider sea

Re: [R] (no subject)

2003-06-18 Thread Duncan Murdoch
On Tue, 17 Jun 2003 20:19:32 -0600, you wrote: >Hi all, > >I'm new to R and am trying to create a dll in order to be able to use the "dyn.load" >function with a fortran script. I have a windows OS, have installed perl and the >Path is recognized. I have also installed R 1.70 including the src

[R] Macintosh plots

2003-06-18 Thread Jonck van der Kogel
Hi Ian, Not 100% sure on this, but I've recently been wrestling with producing plots in R and I think I know the answer to your question. As far as I could tell, all the parameters for graphics are stored using par(). There is a parameter $bg, which for me is set to "transparent", but I'll bet

RE: [R] downloading packages and AntiVirus program

2003-06-18 Thread Ted Harding
On 18-Jun-03 RINNER Heinrich wrote: > Dear R-users! > > I am using R 1.7.0, under Windows XP; > I also have Internet Explorer 6.0.2600., Norton AntiVirus 7.60.926. > > Our firewall seems to want to "protect" me from downloading precompiled > packages for Windows. > When I try to download pack

[R] R environment variable

2003-06-18 Thread kan Liu
which R environmen variable can be used to point to x1.R so that it can be sourced in any directory? Kan Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ ___

Re: [R] Clustering quality measure

2003-06-18 Thread Christian Hennig
Hi, > > "Jonck" == Jonck van der Kogel <[EMAIL PROTECTED]> > > on Tue, 17 Jun 2003 17:23:33 +0200 writes: > > Jonck> Hi all, I am running a series of experiments where > Jonck> after manipulating my data I run several clustering > Jonck> algorithms (agnes, diana and a clus

Re: [R] Clustering quality measure

2003-06-18 Thread Martin Maechler
> "Jonck" == Jonck van der Kogel <[EMAIL PROTECTED]> > on Tue, 17 Jun 2003 17:23:33 +0200 writes: Jonck> Hi all, I am running a series of experiments where Jonck> after manipulating my data I run several clustering Jonck> algorithms (agnes, diana and a clustering method of

Re: [R] downloading packages and AntiVirus program

2003-06-18 Thread Prof Brian Ripley
I've just run that file past two different virus scanners (Sophos and Norton, both fully updated) wiht no hits. I think you can reasonably ask your sysadmins to demonstrate to you what the virus is and in which file in the zip it is. I suspect they do not check ftp downloads, so you could try t

Re: [R] downloading packages and AntiVirus program

2003-06-18 Thread Uwe Ligges
RINNER Heinrich wrote: Dear R-users! I am using R 1.7.0, under Windows XP; I also have Internet Explorer 6.0.2600., Norton AntiVirus 7.60.926. Our firewall seems to want to "protect" me from downloading precompiled packages for Windows. When I try to download packages, like http://cran.at.r-p

[R] downloading packages and AntiVirus program

2003-06-18 Thread RINNER Heinrich
Dear R-users! I am using R 1.7.0, under Windows XP; I also have Internet Explorer 6.0.2600., Norton AntiVirus 7.60.926. Our firewall seems to want to "protect" me from downloading precompiled packages for Windows. When I try to download packages, like http://cran.at.r-project.org/bin/windows/

Re: [R] Query: Sd2Rd and nroff macros in S docs

2003-06-18 Thread Prof Brian Ripley
On Wed, 18 Jun 2003 [EMAIL PROTECTED] wrote: > Documentation for S3 functions is apparently written in troff markup > with macro tags like > > .BG .FN .TL .DN .CS ... > > Inspection of S3 documentation source files gives a pretty clear idea > of what these mean, semantically (and Sd2Rd is

[R] repeated measures ANOVA (was (no subject))

2003-06-18 Thread Ramon Diaz
Dear Jessie, Why don't you try to use already written functions? Probably lme (in package nlme) would be what you need. lme comes with documentation, and there is a whole book devoted to it. Best, Ramón P.S. It is helpful if you use the "Subject" line, so that people now what your message is

[R] Query: Sd2Rd and nroff macros in S docs

2003-06-18 Thread Ted Harding
Documentation for S3 functions is apparently written in troff markup with macro tags like .BG .FN .TL .DN .CS ... Inspection of S3 documentation source files gives a pretty clear idea of what these mean, semantically (and Sd2Rd is a perl script which converts this markup into the Rd format