[R] Problems installing GammaTest

2007-09-29 Thread Martin Efferz
Hi, how to install the GammaTest package under WindowsVista? Only source code available, no binaries. Have tried R CMD INSTALL. The error message is: --- Making package GammaTest adding build stamp to DESCRIPTION making DLL . gcc.exe: installation problem

Re: [R] New R website: R-Cookbook.com

2007-09-29 Thread Philippe Grosjean
Hi Jeff, You give a very long answer, and I don't want to comment each of you points individually. The Wiki is flexible enough so that pages can be arranged the way people want (they can add new sections too if they want; the proposed structure is only a *suggestion* and by the way, the struct

Re: [R] Problems installing GammaTest

2007-09-29 Thread Prof Brian Ripley
On Sat, 29 Sep 2007, Martin Efferz wrote: > how to install the GammaTest package under WindowsVista? Only source code > available, no binaries. > > Have tried R CMD INSTALL. The error message is: > > --- Making package GammaTest > adding build stamp to DESCRIPTION > ma

[R] stiglijk

2007-09-29 Thread alejo duarte
Hi To r-help Emergency report. Check DMXC! Price up 21% in 30 minutes! 5 day price: ~$0.50 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

[R] Data manipulation

2007-09-29 Thread Stefo Ratino
Hello, I am beginner in R and I would like to solve the following problem: Suppose that we have three files to be red in R d1, d2, and d3 > d1 id x1 x2 1 1 4 n 2 2 3 h 3 3 0 f > d2 id x1 x2 1 1 2 r 2 2 3 u 3 3 1 f > d3 id x1 x2 1 1 2 a 2 2 1 w Is there any library

Re: [R] seq() question

2007-09-29 Thread joris . dewolf
Has something do with the precision. Check this: all.equal(1.1, brks[4], tolerance = 0) all.equal(1.2, brks[5], tolerance = 0) all.equal(1.2, brks[5]) "Derek Ogle"

Re: [R] Data manipulation

2007-09-29 Thread Dimitris Rizopoulos
use something like the following (untested) files <- paste("C:/d", 1:3, ".txt", sep = "") dats <- vector("list", 3) for (i in 1:3) { dats[[i]] <- read.table(files[i], header = TRUE) } dats do.call("rbind", dat) I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatis

Re: [R] sprucing up the R homepage

2007-09-29 Thread Antony Unwin
On 27 Sep 2007, at 5:11 pm, Peter Dalgaard wrote: > There was a competition in 2004, and this is the display that won. Thanks for clearing that up. > It was deliberately designed as a "show-off" for the home page, and as > such, I don't think it can be the same sort of graphic that you'd use >

Re: [R] Data manipulation

2007-09-29 Thread Peter Dalgaard
Dimitris Rizopoulos wrote: > use something like the following (untested) > > files <- paste("C:/d", 1:3, ".txt", sep = "") > dats <- vector("list", 3) > for (i in 1:3) { >dats[[i]] <- read.table(files[i], header = TRUE) > } > dats > do.call("rbind", dat) > > ..or even files <- paste("C:/d",

Re: [R] Importing only one function from a package

2007-09-29 Thread Frank E Harrell Jr
Matthew Keller wrote: > Hi Soren, > > What I do in cases like this is just copy the function and place it > into my script at the top (or write it into its own source file and > call it from script). Best, > > Matt I'm not a fan of that because you won't get updates when we update the packages.

[R] variables selection in Aalen and Cox model

2007-09-29 Thread Luis Guillermo Diaz Monroy
Dear members of R community, I want to know about the R procedures (or routines) to carry out the selection of covariates in an Aalen or cox model, respectively. Thanks a lot Luis Guillermo Díaz Monroy Profesor Asociado Departamento de Estadística Universidad Nacional

Re: [R] sprucing up the R homepage

2007-09-29 Thread Peter Dalgaard
Antony Unwin wrote: > > On 27 Sep 2007, at 5:11 pm, Peter Dalgaard wrote: > >> There was a competition in 2004, and this is the display that won. > > Thanks for clearing that up. > >> It was deliberately designed as a "show-off" for the home page, and as >> such, I don't think it can be the same so

Re: [R] [Help] Error when using nls

2007-09-29 Thread Charilaos Skiadas
On Sep 29, 2007, at 12:00 AM, Niner wrote: > Hi, > > I am a student of Earthquake Engineering, and am new to R. > Currently I try to run nonlinear regression analysis by R. My data > has three variables: X, Y, and Z. Z is a function of (X, Y). My R > script is as below. In general it is reco

Re: [R] Problem compiling R - "use of NULL environment is defunct"

2007-09-29 Thread Uwe Ligges
Have you set a library path pointing to old packages of a former R version? BTW: Additionally, you can try out R-2.6.0 release candidate these days and help during evaluation! Uwe Ligges Saptarshi Guha wrote: > Hello, > I downloaded R-2.5.1 and configured it on a AMD x86-74 running > Redhat.

Re: [R] Graphics and LaTeX documents with the same font

2007-09-29 Thread Michael Friendly
hadley wickham wrote: >> > I was interested to see that you have code for drawing scatterplots > with multiple y-axes. As far as I know the only legitimate use for a > double-axis plot is to confuse or mislead the reader (and this is not > a very ethical use case). Perhaps you have a counter-ex

Re: [R] Graphics and LaTeX documents with the same font

2007-09-29 Thread hadley wickham
On 9/29/07, Michael Friendly <[EMAIL PROTECTED]> wrote: > > hadley wickham wrote: > >> > > I was interested to see that you have code for drawing scatterplots > > with multiple y-axes. As far as I know the only legitimate use for a > > double-axis plot is to confuse or mislead the reader (and this

Re: [R] Graphics and LaTeX documents with the same font

2007-09-29 Thread hadley wickham
On 9/29/07, hadley wickham <[EMAIL PROTECTED]> wrote: > On 9/29/07, Michael Friendly <[EMAIL PROTECTED]> wrote: > > > > hadley wickham wrote: > > >> > > > I was interested to see that you have code for drawing scatterplots > > > with multiple y-axes. As far as I know the only legitimate use for a

Re: [R] Graphics and LaTeX documents with the same font

2007-09-29 Thread jiho
On 2007-September-28 , at 18:25 , Frank E Harrell Jr wrote: > jiho wrote: >> On 2007-September-28 , at 16:57 , Frank E Harrell Jr wrote: >>> jiho wrote: On 2007-September-28 , at 15:18 , Paul Smith wrote: > On 9/28/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: >>> I know how to e

Re: [R] Graphics and LaTeX documents with the same font [double-Y-axis graphs]

2007-09-29 Thread Michael Friendly
hadley wickham wrote: > On 9/29/07, hadley wickham <[EMAIL PROTECTED]> wrote: >> On 9/29/07, Michael Friendly <[EMAIL PROTECTED]> wrote: >>> hadley wickham wrote: I was interested to see that you have code for drawing scatterplots with multiple y-axes. As far as I know the only legitima

Re: [R] sprucing up the R homepage

2007-09-29 Thread DavidM.UK
Personally I think the homepage needs a much better image not a "nice" version of what is currently displayed. Time Series is completely missing at the moment. Including something from the fSeries .garchFit() routine would be a great to see (well done to the RMetrics team on making it look good).

Re: [R] New R website: R-Cookbook.com

2007-09-29 Thread DavidM.UK
Hi, That looks great, but maybe you should have a field "R Version Used" too. Of course lots of code in specific versions of R fail when applied in alternative versions. Best, David U Bristol, UK PG Student Jeff-136 wrote: > > R Community, > > I've put together a website that I thought th

Re: [R] Graphics and LaTeX documents with the same font

2007-09-29 Thread Frank E Harrell Jr
jiho wrote: > On 2007-September-28 , at 18:25 , Frank E Harrell Jr wrote: >> jiho wrote: >>> On 2007-September-28 , at 16:57 , Frank E Harrell Jr wrote: jiho wrote: > On 2007-September-28 , at 15:18 , Paul Smith wrote: >> On 9/28/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:

Re: [R] fitted values in LMER for the fixed-effects only

2007-09-29 Thread Dieter Menne
On 9/28/07, Anouk Simard bio.ulaval.ca> wrote: > > I would like to extract the fitted values from a model using LMER but > > only for the fix portion of the model and not for the fix and random > > portion (e.g it is the procedure outpm or outp in SAS). .. Quoting Douglas Bates stat.wisc.edu> >

[R] resetting par() to all defaults: par(reset=TRUE) ?

2007-09-29 Thread Michael Friendly
In a long session, producing multiple graphs, I sometimes repeatedly change par() settings, particularly with multi-row/col displays. If I'm using a script, I'll do op <- par(newsettings) ... plots ... par(op) but sometimes I do things on the fly and can't easily back out to the default settings.

[R] Visualization of two-mode matrix/ networks/ graphs

2007-09-29 Thread Jakob Mumm
Hey all, I'm looking for a plotting method for two-mode networks. Having a n x m matrix where n is the first set of entities/ actors and m representing the second set, I want to colour both sets of actors differently. I tried "plot.network" from the network-package, but I did not succeed. Even the

Re: [R] sprucing up the R homepage

2007-09-29 Thread Graham Williams
Received Sun 30 Sep 2007 4:11am +1000 from DavidM.UK: > > Personally I think the homepage needs a much better image not a "nice" > version of what is currently displayed. [...] > Finny Kuruvilla-3 wrote: > > > > [...] The graphic on the home page > > looks a bit in need of polish so I applied so

Re: [R] Command-line editing & history

2007-09-29 Thread Glenn Davis
Prof Brian Ripley wrote: > > >> So I guess my question changes to: Does anyone know if there are plans / >> is it possible to add GNU Readline functionality in the Windoze port? > > No plans, especially as Rterm.exe already has getline with very similar > functionality. But of course you ar

[R] Help with functions (iterations)

2007-09-29 Thread Letticia Ramlal
Hello: I am a bit confused by this problem. Can anyone give me some advice on this I would greatly appreciate it. Thank you for all your help. Need to create a for loop that saves the estimate of pi from each 0f 100 separate iterations and store it in a numeric vector (of length 100). The for

Re: [R] Help with functions (iterations)

2007-09-29 Thread jim holtman
I think this might be what you want: ex1.fcn<-function(x){ h<-4/(1+x^2) return(h) } my.pi <- function(sample.size, sim.size, low, hi, func) { # create output vector result <- numeric(sample.size) for (i in seq(sample.size)){ # loop for 'sample.size' times my.rand.x <- runif(si

[R] Shapiro-Welch W value interpretation

2007-09-29 Thread Omar Baqueiro
Hello, I have tested a distribution for normality using the Shapiro-Welch statistic. The result of this is the following: Shapiro-Wilk normality test data: mydata W = 0.9989, p-value = 0.8791 I know that the p-value > 0.05 (for my purposes) means that the data IS normally distributed

Re: [R] resetting par() to all defaults: par(reset=TRUE) ?

2007-09-29 Thread deepayan . sarkar
On 9/29/07, Michael Friendly <[EMAIL PROTECTED]> wrote: > In a long session, producing multiple graphs, I sometimes repeatedly > change par() settings, particularly with multi-row/col displays. > If I'm using a script, I'll do > > op <- par(newsettings) > ... plots ... > par(op) > > but sometimes I