[R] Odd r-squared

2003-11-02 Thread Simon Wotherspoon
Hi, I would consider the calculation of r-squared in the following to be a bug, but then, I've been wrong before. It seems that R looks to see if the model contains an intercept term, and if it does not, computes r-squared in a way I don't understand. To my mind, the following are two alternati

Re: [R] poisson GLM

2003-11-02 Thread Spencer Graves
Have you considered the example provided in the documentation "?glm" in R 1.8.0? If that does not satisfy your needs, please explain why it doesn't. hope this helps. spencer graves Julianno Sambatti wrote: Does anyone know how to use poison models in general linear models with R ? Juliann

[R] poisson GLM

2003-11-02 Thread Julianno Sambatti
Does anyone know how to use poison models in general linear models with R ? Julianno __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] cannot have a function argument named 'break'

2003-11-02 Thread Thomas Lumley
On Sun, 2 Nov 2003, Thomas W Blackwell wrote: > Dear list - > > I just discovered to my surprise that I cannot define > a function with an argument named 'break' or 'while'! > 'breaks' is okay. Maybe this is no surprise to the R > developers. You can't use any of the words that are part of the

Re: [R] hello

2003-11-02 Thread kjetil
On 2 Nov 2003 at 15:59, malick mbaye wrote: I'm afraid you will not get much usefull help without being more specific! Kjetil Halvorsen i am a student and i need some help to do modéling like to use some methods to select the best model(variables) thank,s mail:[EMAIL PROTECTED] tel:514-975-

Re: [R] cannot have a function argument named 'break'

2003-11-02 Thread Spencer Graves
Yup. R 1.8.0 gives me a syntax error from "if", also: > iff <- function(if)if Error: syntax error spencer graves Thomas W Blackwell wrote: Dear list - I just discovered to my surprise that I cannot define a function with an argument named 'break' or 'while'! 'breaks' is okay. Maybe this is

[R] hello

2003-11-02 Thread malick mbaye
i am a student and i need some help to do modéling like to use some methods to select the best model(variables) thank,s mail:[EMAIL PROTECTED] tel:514-975-2601 [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.s

[R] lattice function splom

2003-11-02 Thread kjetil
Hola! In the lattice function splom, is it possible to get the tickmarks/value labels _outside_ the scatterplot matrix, and not inside each of the panels in the antidiagonal of panels with variable labels? Kjetil Halvorsen __ [EMAIL PROTECTED] maili

[R] cannot have a function argument named 'break'

2003-11-02 Thread Thomas W Blackwell
Dear list - I just discovered to my surprise that I cannot define a function with an argument named 'break' or 'while'! 'breaks' is okay. Maybe this is no surprise to the R developers. R-1.7.1, 2003-06-16, i686-pc-linux-gnu. - tom blackwell - u michigan medical school - ann arbor - __

[R] barchart in lattice

2003-11-02 Thread Dieter Menne
Bernd, for counts use histogram instead of barchart, and leave the left side of the formula empty. library(lattice) meta<-read.table("meta.txt",header=T) histogram(~daten.COUNTRY|daten.STATUS,data=meta) Check "scales" in xyplot (it's also valid for histogram) so you get the names of the countrie

[R] Problems with help.start()

2003-11-02 Thread Dieter Menne
Henrique, I often have the same problem in r-Help after doing Java development; it looks like a versioning conflict. Workaround: -- Use Netscape (never happened there) -- Totally uninstall Java runtime (make sure you got all versions), and reinstall it. There may be an easier way, but reinstalla

[R] [R-pkgs] R maps, mapdata and mapproj for Windows

2003-11-02 Thread Ray Brownrigg
Nearly a month ago I announced the availability of a Windows port of the maps for S package but for various reasons the Windows binaries did not appear on CRAN until yesterday. Now I am pleased to announce that the three packages maps_2.0-8 (the base maps package with low-resolution databases), ma

Even more timings [was Re: [R] Change in 'solve' for r-patched]

2003-11-02 Thread Douglas Bates
Earlier I posted some timings on different ways to solve a least squares problem in R. To get a comparison of the raw speed of the Cholesky and the QR methods I wrote a couple of C functions (shown below) that call Lapack and BLAS routines directly. The results from these are > system.time(blsq <

Re: [R] SWinRegistry & R 1.8.0

2003-11-02 Thread Prof Brian Ripley
On Sun, 2 Nov 2003, David Pleydell wrote: > Hi > I have R 1.6.2 and use WinEdt as a text editor. I > have just upgraded to R 1.8.0 but can't set up the > SWinRegistry program. Using the recommended "Install > packages from local zip files" menu option I get > > > > install.packages("C:/R/SWinR

Re: [R] SWinRegistry & R 1.8.0

2003-11-02 Thread Uwe Ligges
David Pleydell wrote: Hi I have R 1.6.2 and use WinEdt as a text editor. I have just upgraded to R 1.8.0 but can't set up the SWinRegistry program. Using the recommended "Install packages from local zip files" menu option I get install.packages("C:/R/SWinRegistry_0.3-2_binary.zip", .libPaths()

Re: [R] SWinRegistry & R 1.8.0

2003-11-02 Thread Chuck Cleland
David Pleydell wrote: I have R 1.6.2 and use WinEdt as a text editor. I have just upgraded to R 1.8.0 but can't set up the SWinRegistry program. Using the recommended "Install packages from local zip files" menu option I get install.packages("C:/R/SWinRegistry_0.3-2_binary.zip", .libPaths()[1], C

Re: [R] optim

2003-11-02 Thread Prof Brian Ripley
On Sun, 2 Nov 2003, Savano wrote: > Friends, > > I wrote a log-likelihood fuction and optimized but the optim function > return a error. The program and the error are below. > > Can you help me? The message is not from optim, but from your own function: use traceback() to find where errors c

[R] SWinRegistry & R 1.8.0

2003-11-02 Thread David Pleydell
Hi I have R 1.6.2 and use WinEdt as a text editor. I have just upgraded to R 1.8.0 but can't set up the SWinRegistry program. Using the recommended "Install packages from local zip files" menu option I get > install.packages("C:/R/SWinRegistry_0.3-2_binary.zip", .libPaths()[1], CRAN = NULL) Err

Re: [R] optim

2003-11-02 Thread Uwe Ligges
Savano wrote: Friends, I wrote a log-likelihood fuction and optimized but the optim function return a error. The program and the error are below. Can you help me? rm(list=ls(all=TRUE)) > > duration<-read.table("C:/Documents and Settings/Savano/Meus documentos/Savano/PUC/estudo/NYSE/durat

Re: [R] barchart in lattice

2003-11-02 Thread Bernd Weiss
Am 2 Nov 2003 um 10:34 hat Deepayan Sarkar geschrieben: > > On Sunday 02 November 2003 04:17, Bernd Weiss wrote: > > Dear all, > > > > I have two factors 'country' and 'status' which I would like to plot via > > barchart (lattice). 'status' consist of three different levels and should > > be the

[R] optim

2003-11-02 Thread Savano
Friends, I wrote a log-likelihood fuction and optimized but the optim function return a error. The program and the error are below. Can you help me? rm(list=ls(all=TRUE)) > > duration<-read.table("C:/Documents and Settings/Savano/Meus documentos/Savano/PUC/estudo/NYSE/durationadj.txt",head

[R] optim

2003-11-02 Thread Savano
Friends, I wrote a log-likelihood fuction and optimized but the optim function return a error. The program and the error are below. Can you help me? rm(list=ls(all=TRUE)) > > duration<-read.table("C:/Documents and Settings/Savano/Meus documentos/Savano/PUC/estudo/NYSE/durationadj.txt",head

[R] teste

2003-11-02 Thread Savano
estou testando I'm testing. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Re: Therotical basis of Kriging

2003-11-02 Thread Miha STAUT
hello I want to know about therotical basis of Kriging in elemantary level. I will appreciate if anyone sends me address,link,e-documents, etc.. kind regards -- Ahmet Temiz Practical geostatistics is a comprehensive introductory book to the geostatistics. There is a free downloadable copy of the

Re: [R] barchart in lattice

2003-11-02 Thread Deepayan Sarkar
On Sunday 02 November 2003 04:17, Bernd Weiss wrote: > Dear all, > > I have two factors 'country' and 'status' which I would like to plot via > barchart (lattice). 'status' consist of three different levels and should > be the grouping variable, the correct terminology would be 'conditioning' va

Re: [R] Weird problem with median on a factor

2003-11-02 Thread Christoph Bier
Peter Dalgaard wrote: Christoph Bier <[EMAIL PROTECTED]> writes: Dave Cacela schrieb: Christoph, I concur with the other respondents who questioned why someone would wish to calculate the median of a factor. However, with regard to your actual question, I suspect that median() is giving differen

Re: [R] Beginner: Homogenity of Variances

2003-11-02 Thread Michael Friendly
"Markus Koesters" <[EMAIL PROTECTED]> wrote: for my meta-analysis I try to test if two varainces are equal without using the raw scores. I have is the SD's, N's and the Means. I want to test the variances from dependent and independend samples. I assume I can use the var.test procedure for the i

Re: [R] Weird problem with median on a factor

2003-11-02 Thread Duncan Murdoch
On 02 Nov 2003 12:50:37 +0100, you wrote: >(Arguably, sorting an unordered factor ought to Verboten as well, >though!) No, arbitrarily assigning an ordering and using that to sort is a useful thing in many situations, e.g. searching. Duncan Murdoch

Re: [R] png() and/or jpeg(): line missing by using box(which="outer")

2003-11-02 Thread Prof Brian Ripley
I have an answer for the first of these. box("outer") tries to draw a polyline at (0,0), (0,1), (1,1), (1,0), (1,0) in device coordinates. Due to rounding error, 1 was being plotted at pixel 480, and there are only pixels 0...479. This *was* also happening on screen, but for the default screen si

Re: [R] Weird problem with median on a factor

2003-11-02 Thread Peter Dalgaard
Christoph Bier <[EMAIL PROTECTED]> writes: > Dave Cacela schrieb: > > Christoph, > > I concur with the other respondents who questioned why someone would > > wish to > > calculate the median of a factor. However, with regard to your actual > > question, I suspect that median() is giving different

Re: [R] Weird problem with median on a factor

2003-11-02 Thread Christoph Bier
Dave Cacela schrieb: Christoph, I concur with the other respondents who questioned why someone would wish to calculate the median of a factor. However, with regard to your actual question, I suspect that median() is giving different answers because the two vectors are not both factors, i.e., that

[R] barchart in lattice

2003-11-02 Thread Bernd Weiss
Dear all, I have two factors 'country' and 'status' which I would like to plot via barchart (lattice). 'status' consist of three different levels and should be the grouping variable, i.e. there should be drawn three different panels and within each panel a barchart of 'country'. barchart(dat

Re: [R] Calling R from PHP on Win2K?

2003-11-02 Thread Paolo Tenconi
You could query your dbase using the RMySql package and then publish your results using the RWeb package. Paolo On Sat, 1 Nov 2003 15:00:04 -0800, John Kim <[EMAIL PROTECTED]> wrote: Hi everyone, I'd like to call R from a PHP script to draw graphs (using data selected from a MySQL database) o

Re: [R] Calling R from PHP on Win2K?

2003-11-02 Thread Prof Brian Ripley
On Sat, 1 Nov 2003, John Kim wrote: > I'd like to call R from a PHP script to draw graphs (using data selected > from a MySQL database) on Windows 2000. I think what I need to do is: > > 1) Install R for Windows > 2) Install Perl > 3) From PHP make a system call to Rcmd.exe No. Rcmd.exe is just