Re: [R] kurtosis

2007-09-29 Thread J Dougherty
On Friday 28 September 2007 03:39, S Bina wrote: Hi, I cannot find the function kurtosis. Is it sth additional I am meant to download? I use the MacOS X version of R. Many thanks Samira If you have access to it, look at M. J. Crawley's Statistics: An Introduction Using R. See page 71-72

[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

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

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 making

[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

[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 Biostatistical Centre

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, 1:3, .txt, sep = )

[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

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 is not a

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 double-axis

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 legitimate use for a

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 this

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

2007-09-29 Thread Dieter Menne
On 9/28/07, Anouk Simard Anouk.Simard at 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 bates at

[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] 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 -

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 do things