Re: [R] No ~ in JGR

2005-05-28 Thread Henric Nilsson
CG Pettersson said the following on 2005-05-25 14:25: R2.1.0 JGR 1.2 W2k Hello all! I´ve just installed JGR on my both R-equipped computers and am very pleased with the look and functionality. Except in one, very important, way. I can´t figure out how to get the ~ sign from the keyboard to

Re: [R] Soil texture triangle in R?

2005-05-28 Thread Sander Oom
Hi Jim, Your email was classified as spam, so I missed it previously. Unfortunately you did not send a cc to the R-help list. I send a cc to the mailing list now, so all code gets archived. Thanks for the improvements on your function! It seems that drawing the ternary graph and the points

[R] read.spss trouble

2005-05-28 Thread Martin Klaffenboeck
Hello! I'm not sure if this is an german list, so I will post in english. I'm using R on my gentoo linux and now I got an spss .sav file. I found that r has a function like read.spss(file.sav) but when I try this I get the Error: couldn't find function read.spss. Can anyone tell me what's

Re: [R] images and maps in R

2005-05-28 Thread Roger Bivand
On Fri, 27 May 2005, Don MacQueen wrote: This is is not difficult from the online help for the map() function. Here is an example. map('state', region = c('new york', 'new jersey', 'penn'),fill=TRUE,col=1:4) There is also an example there in how to add text to the map. Another way

Re: [R] read.spss trouble

2005-05-28 Thread Kevin Wang
Hi Martin, Martin Klaffenboeck wrote: Hello! I'm not sure if this is an german list, so I will post in english. It's an English list. I'm using R on my gentoo linux and now I got an spss .sav file. I found that r has a function like read.spss(file.sav) but when I try this I get the Error:

Re: [R] read.spss trouble

2005-05-28 Thread Marc Schwartz
On Sat, 2005-05-28 at 13:23 +, Martin Klaffenboeck wrote: Hello! I'm not sure if this is an german list, so I will post in english. The official language is English. I'm using R on my gentoo linux and now I got an spss .sav file. I found that r has a function like read.spss(file.sav)

Re: [R] read.spss trouble

2005-05-28 Thread John Sorkin
Martin, If you have trouble finding page 74 of Introduction to R, you can get the information that Marc suggested you read by doing the following. At the R prompt enter help.start() Then when you see the web page Statistical Data Analysis R, click on the SEARCH ENGINE KEYWORDS link. In the

Re: [R] Errors in Variables

2005-05-28 Thread Eric-Olivier Le Bigot
I'm interested in this 2D line fitting too! I've been looking, without success, in the list of R packages. It might be possible to implement quite easily some of the formalism that you can find in Numerical Recipes (Fortran 77, 2nd ed.), paragraph 15.3. As a matter of fact, I did this in R

[R] Forcing ticks in plot for hclust object outside the limits

2005-05-28 Thread Aleš Žiberna
Hello! I have the following problem. I would like to plot the hclust object hcd (bellow, at the end of the mail) with ticks at seq(0.05,0.25,by=0.05). I tried using the code plot(hcd) and plot(hcd,axes=FALSE) axis(2,seq(0.05,0.25,by=0.05)) In both cases, the resoult is the same, ticks at

[R] Lag selection

2005-05-28 Thread Amir Safari
Dear All , Is it possible to find and select the best lags for time series in R? ( Lag Selection Problem ) Could you please introduce a package or function for this ? Thanks a lot __ [[alternative HTML version deleted]]

Re: [R] Forcing ticks in plot for hclust object outside the limits

2005-05-28 Thread Uwe Ligges
Ale iberna wrote: Hello! I have the following problem. I would like to plot the hclust object hcd (bellow, at the end of the mail) with ticks at seq(0.05,0.25,by=0.05). I tried using the code plot(hcd) and plot(hcd,axes=FALSE) axis(2,seq(0.05,0.25,by=0.05)) In both cases, the resoult is the

[R] how to make legends on histograms

2005-05-28 Thread Andreas Zankl
I have a histogram with histograms for several datasets superimposed. How can I add a legend that indicates which dataset uses which linetype? Thanks Andreas -- -- Dr. med. Andreas Zankl Division de Pediatrie Moleculaire Clinique Infantile 02/50 CHUV Avenue Pierre

Re: [R] Soil texture triangle in R?

2005-05-28 Thread Sander Oom
Dear R users, Please find attached a new plot function, plot.soiltexture, to plot soil texture data on a triangular plot with an optional backdrop of the USDA soil texture classification, written by Jim Lemon and me. I tried to write the function and documentation confirm the R conventions.

Re: [R] how to make legends on histograms

2005-05-28 Thread Kjetil Brinchmann Halvorsen
Andreas Zankl wrote: I have a histogram with histograms for several datasets superimposed. How can I add a legend that indicates which dataset uses which linetype? Thanks Andreas ?legend ?locator -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction.

Re: [R] Errors in Variables

2005-05-28 Thread Spencer Graves
I'm sorry, I have not followed this thread, but I wonder if you have considered library(sem), structural equations modeling? Errors in variables problems are the canonical special case. Also, have you done a search of www.r-project.org - search - R site search for terms like errors in

Re: [R] Lag selection

2005-05-28 Thread Spencer Graves
What kind of problem? For one variable or more? What have you tried? For only a single time series, the standard approach that I learned from Box and Jenkins, Time Series Analysis, Forecasting and Control, starts by preparing both acf and pacf, both of which are functions in R.