[R] combining mathematical notation and value substitution

2003-06-19 Thread Faheem Mitha
Dear People, I need to make a label which both contains math notation as well as substitutes a value for an object. In the following label, len and theta are one dim variables, and I am substituting their values appropriately. This label looks fine except that I want the greek symbol for theta to

[R] Question: nonlinear covariate terms in spatial regression

2003-06-19 Thread Sean Connolly
Hi all, I am trying to model (continuous) spatial variation in a response variable as a function of one or more of several explanatory variables. I am principally interested in obtaining some measure of the relative "importance" of the explanatory variables. I have found several R libraries

[R] build R.1.7.1 failure on Darwin 6.6

2003-06-19 Thread Mark E. Perkins
When I attempt to build v.1.7.1 on a Darwin 6.6 system I get the following failure when linking in src/main: gcc -framework Carbon -mdynamic-no-pic -L/sw/lib -L/usr/local/lib -o R.bin CConverters.o Rdynload.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o co

Re: [R] Subseting by more than one factor...

2003-06-19 Thread Douglas Bates
Fernando Henrique Ferraz Pereira da Rosa <[EMAIL PROTECTED]> writes: > Is it possible in R to subset a dataframe by more than one factor, all at > once? > For instance, I have the dataframe: > >data > p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pred > 10 1 0 0 0 0 0 0 0 0 0

[R] Building R Packages

2003-06-19 Thread Mark Piorecky
Thanx to all who responded to my plea for help. You were right, I did not have the Path environment set properly for the tools package. I get a little further now, but still get an error message. My Cmd Window looks like this: Rcmd SHLIB combo.f ar cr combo.a *.o ranlib combo.a

[R] Statistical Models: Ordered vs. Non-Ordered Factors

2003-06-19 Thread MZodet
I'd like to understand better how ordered and non-ordered factors are treated differently when included as explanatory variables in statistical models. Also, it appears as though glm [family=binomial] (base) treats ordered factors differently than lrm (design). For example, when fitting the same

Re: [R] Subseting by more than one factor...

2003-06-19 Thread Sundar Dorai-Raj
Fernando Henrique Ferraz Pereira da Rosa wrote: Is it possible in R to subset a dataframe by more than one factor, all at once? For instance, I have the dataframe: >data p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pred 10 1 0 0 0 0 0 0 0 0 0.5862069 40 0 0 0 0 0 0

Re: [R] Background color(s) for groupedData plot

2003-06-19 Thread Michael A. Miller
> "Paul," == Paul, David A <[EMAIL PROTECTED]> writes: > Is there a convenient way to decide whether or not the > generic plot( ) is going to use "regular" or "trellis" > plotting? I looked at methods(plot) and didn't find any > groupedData plot methods listed, so perhaps this

[R] Subseting by more than one factor...

2003-06-19 Thread Fernando Henrique Ferraz Pereira da Rosa
Is it possible in R to subset a dataframe by more than one factor, all at once? For instance, I have the dataframe: >data p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pred 10 1 0 0 0 0 0 0 0 0 0.5862069 40 0 0 0 0 0 0 0 0 1 0.5862069 50 0 0 0 0 0 1 0

[R] Fitting particular repeated measures model with lme()

2003-06-19 Thread J.R. Lockwood
Hello, I have a simulated data structure in which students are nested within teachers, and with each student are associated two test scores. There are 20 classrooms and 25 students per classroom, for a total of 500 students and two scores per student. Here are the first 10 lines of my dataframe

Re: R: [R] Grouping binary data

2003-06-19 Thread Douglas Trainor
I too am interested in analysis of sparse data, and I couldn't find this journal easily, but I found an Oliver Kuss presentation that likely summarizes the material. You can find that presentation here: http://www.stats.gla.ac.uk/~goeran/euroworkshop/webpages/2002/slides/oliver.pdf (Also, appar

Re: [R] Background color(s) for groupedData plot

2003-06-19 Thread Uwe Ligges
"Paul, David A" wrote: > > Thank you both for pointing out that this is a lattice > plot (ie, R's version of Trellis graphics) and therefore > needs something other than par(). > > I was able to use IE6.0 to search for "trellis" and > find the relevant commands (after using help.start(), > of c

Re: [R] Background color(s) for groupedData plot

2003-06-19 Thread Uwe Ligges
"Paul, David A" wrote: > > I've been using par() to check the graphics parameters > associated with both plot() and > plot(). AFAIK the only differences > are in the $cxy, $usr, $xaxp, and $yaxp parameters but > the background color for the grouped data plot is grey > while the linear model plo

Re: [R] Problem reading a PDF output

2003-06-19 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > > I generated a PDF output file of 10 plots. When I try to view it with > Adobe reader (R4 & R5), it will lockup the reader (it is consuming 100% of > the CPU) after presenting the 4th plot. I can generate the plots just fine > in Windows and as a postscript file readi

RE: [R] Background color(s) for groupedData plot

2003-06-19 Thread Paul, David A
Thank you both for pointing out that this is a lattice plot (ie, R's version of Trellis graphics) and therefore needs something other than par(). I was able to use IE6.0 to search for "trellis" and find the relevant commands (after using help.start(), of course). This brings up another question:

[R] Problem reading a PDF output

2003-06-19 Thread james . holtman
I generated a PDF output file of 10 plots. When I try to view it with Adobe reader (R4 & R5), it will lockup the reader (it is consuming 100% of the CPU) after presenting the 4th plot. I can generate the plots just fine in Windows and as a postscript file reading it with GSview. Is there anyway

Re: [R] GLME

2003-06-19 Thread Douglas Bates
Federico Calboli <[EMAIL PROTECTED]> writes: > Hi All, > > does anyone know if the package GLME by J. Pinheiro is available anywhere > in any form? checking on the archive I got that it was at some point, as as > a beta version (for S-Plus only, alas)... > > Cheers, > > Federico I don't think

Re: [R] Background color(s) for groupedData plot

2003-06-19 Thread Renaud Lancelot
Paul, David A wrote: I've been using par() to check the graphics parameters associated with both plot() and plot(). AFAIK the only differences are in the $cxy, $usr, $xaxp, and $yaxp parameters but the background color for the grouped data plot is grey while the linear model plot has a white backg

[R] Background color(s) for groupedData plot

2003-06-19 Thread Paul, David A
I've been using par() to check the graphics parameters associated with both plot() and plot(). AFAIK the only differences are in the $cxy, $usr, $xaxp, and $yaxp parameters but the background color for the grouped data plot is grey while the linear model plot has a white background. When I've tri

Re: [R] clines loading error

2003-06-19 Thread Roger Bivand
On Thu, 19 Jun 2003, Prof Brian Ripley wrote: > I think your R is too old. Packages can indicate they need a particular > version of R, but it is unreasonable to expect them to be tested on > versions predating the package (which as clines is not on CRAN I can't > check but suspect to be the c

Re: [R] saving window size of a graphics device in windows possible?

2003-06-19 Thread Prof Brian Ripley
On Fri, 20 Jun 2003, Masayoshi Hayashi wrote: > In MDI mode of Windows, is it possible to save window size and other > parameter settings of a graphics device when it is activated, much like > Rconsole file? No, but you don't need to. Size is part of the arguments of the windows() device, and yo

Re: [R] clines loading error

2003-06-19 Thread Prof Brian Ripley
I think your R is too old. Packages can indicate they need a particular version of R, but it is unreasonable to expect them to be tested on versions predating the package (which as clines is not on CRAN I can't check but suspect to be the case). On Thu, 19 Jun 2003, Karim Elsawy wrote: > I'm

[R] saving window size of a graphics device in windows possible?

2003-06-19 Thread Masayoshi Hayashi
In MDI mode of Windows, is it possible to save window size and other (Bparameter settings of a graphics device when it is activated, much like (BRconsole file? (B (BBy default the bottom part of a graphic device (windows()) is too big such (Bthat it is hidden under the horizontal scrolling and

[R] Constrained optimization

2003-06-19 Thread Charles Annis, P.E.
Greetings, R-Wizards: Earlier this week I requested help with trying to find an extremum subject to a nonlinear constraint. Many thanks to Martin Maechler, Spencer Graves, and Jonathan Baron, who all suggested optim() rather than nlm(), and to Robert Gentleman who suggested using a half-interval

[R] GLME

2003-06-19 Thread Federico Calboli
Hi All, does anyone know if the package GLME by J. Pinheiro is available anywhere in any form? checking on the archive I got that it was at some point, as as a beta version (for S-Plus only, alas)... Cheers, Federico = Federico C.F. Calboli Department of Biology Unive

[R] clines loading error

2003-06-19 Thread Karim Elsawy
I'm running R 1.4.1 under linux , recently I installed the package clines_1.0.tar.gz R CMD INSTALL clines_1.0.tar.gz and it is installed with no errors when I try to use it , I get this error library(clines) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared

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

2003-06-19 Thread zhu wang
Thanks. On Thu, 2003-06-19 at 01:52, Prof Brian Ripley wrote: > 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 a

Re: [R] Check whether size(file) > 0

2003-06-19 Thread Roger Bivand
On Thu, 19 Jun 2003, R A F wrote: > Hi all, what's the way to check for this? I know of "file.exists," but that > does not > preclude the possibility of an empty file. > file.info("file")$size > Thanks very much! > > __ > [EMAIL PROTECTED] mailing

Re: [R] Check whether size(file) > 0

2003-06-19 Thread Sundar Dorai-Raj
?file.info R A F wrote: Hi all, what's the way to check for this? I know of "file.exists," but that does not preclude the possibility of an empty file. Thanks very much! __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo

Re: [R] Check whether size(file) > 0

2003-06-19 Thread Marc Schwartz
On Thu, 2003-06-19 at 08:37, R A F wrote: > Hi all, what's the way to check for this? I know of "file.exists," but that > does not > preclude the possibility of an empty file. > > Thanks very much! See ?file.info HTH, Marc Schwartz __ [EMAIL PROT

[R] Check whether size(file) > 0

2003-06-19 Thread R A F
Hi all, what's the way to check for this? I know of "file.exists," but that does not preclude the possibility of an empty file. Thanks very much! __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

R: [R] Grouping binary data

2003-06-19 Thread Vito Muggeo
Dear Henric, The following paper deals with goodness-of-fit test for sparse (and even binary) data: Kuss O. Global goodness-of-fit tests in logistic regression with sparse data, Statist Med, 2002, 21:3789-3801. It should not too hard to write code for some non-standard and (probably under-used) G

RE: [R] sciViews

2003-06-19 Thread Philippe Grosjean
Please, use the mailing list language: English (or mail me directly). (French version of the answer follows). The question is: how to save a R script document in SciViews since the "save as..." dialog box proposes only '.txt' files as allowed type. Answer: you just have to append a '.R' extensio

Re: [R] Grouping binary data

2003-06-19 Thread Prof Brian Ripley
On Thu, 19 Jun 2003, Henric Nilsson wrote: > Dear all, > > I'm analyzing a binary outcome using glm() with a binomial distribution and > a logit link, and have now reached the point where I'd like to do some > model checking. Since my data are in binary form I'd like to collapse over > the cro

Re: [R] sciViews

2003-06-19 Thread Spencer Graves
1. The official language of this list is English. 2. You might get better help if you tell us what version of R you are using under which operating system. Also, a toy example of a short piece of script illustrating the problem might make it easier for others to understand you. Je ne peux p

[R] Grouping binary data

2003-06-19 Thread Henric Nilsson
Dear all, I'm analyzing a binary outcome using glm() with a binomial distribution and a logit link, and have now reached the point where I'd like to do some model checking. Since my data are in binary form I'd like to collapse over the cross-classification of the factors before the model checki

[R] SciViews

2003-06-19 Thread tpoloni
Bonjour, J'ai téléchargé SciViews Insider que je trouve très convivial. Par contre, je n'arrive pas à comprendre comment enregistrer un script R en type de fichier R justement. Mes programmes fonctionnent très bien, mais SciViews me propose uniquement de les enregistrer au format txt sous un typ

[R] sciViews

2003-06-19 Thread tpoloni
Bonjour, J'ai téléchargé SciViews Insider que je trouve très convivial. Par contre, je n'arrive pas à comprendre comment enregistrer un script R en type de fichier R justement. Mes programmes fonctionnent très bien, mais SciViews me propose uniquement de les enregistrer au format txt sous un typ

RE: [R] Path analysis

2003-06-19 Thread Marwan Khawaja
Check out the 'sem' package by John Fox. Marwan === Marwan Khawaja [EMAIL PROTECTED] Associate Professor & Director http://webfaculty.aub.edu.lb/~mk36 Center for Research on Population & Health Faculty of Health Science

RE: [R] Import time series data with uneven dates

2003-06-19 Thread Heywood, Giles
A solution is at hand using the 'irts' (irreglar time-series) class from package tseries. If your raw data is in a csv file, you could proceed as follows: mydata <- read.csv(filename,header=TRUE) basedate <- as.POSIXct(strptime("2003-01-01 00:00:00",format="%Y-%m-%d %X")) rawdates <- basedate+(m