Re: [R] png scaling problem

2005-09-02 Thread Gabor Grothendieck
If you have not already tried it try creating a fig file: xfig(myfile.fig) plot(1:10) dev.off() and then using the fig2dev utility (find it via google) to convert it to a tiff: fig2dev -L tiff myfile.fig myfile.tiff On 9/2/05, Knut Krueger [EMAIL PROTECTED] wrote: Probably a better

Re: [R] post hoc analysis after anova

2005-09-02 Thread Dieter Menne
Mahdi Osman m_osm at gmx.net writes: I fit a linear model lm and then did anova. My idea is to run multiple pairwise comparision for several factor Package multcomp helps you here, and also protects you against overdoing it. Dieter __

[R] Calculating Goodman-Kurskal's gamma using delta method

2005-09-02 Thread Wuming Gong
Dear list, I have a problem on calculating the standard error of Goodman-Kurskal's gamma using delta method. I exactly follow the method and forumla described in Problem 3.27 of Alan Agresti's Categorical Data Analysis (2nd edition). The data I used is also from the job satisfaction vs. income

Re: [R] R binaries, platform independent and Design of Experiments

2005-09-02 Thread Nam-Ky Nguyen
a) The sources are available and really easy to compile on all those operating systems. Honestly, I only know how to compile my Java programs. Anyway, we have been able to work out how to download all files http://cran.au.r-project.org/. The entire CRAN is 5.4GB. This requires two DVDs!. b)

Re: [R] More block diagonal matrix construction code

2005-09-02 Thread Robin Hankin
hi Bert, List well now seems a good time to adduce adiag() of package magic. Function adiag binds together arrays of arbitrary dimension corner-to-corner. Sensible interpretation is made for arguments at the edge of acceptability (eg one array being a scalar). The meat of the code is as

Re: [R] R binaries, platform independent and Design of Experiments

2005-09-02 Thread Uwe Ligges
Nam-Ky Nguyen wrote: a) The sources are available and really easy to compile on all those operating systems. Honestly, I only know how to compile my Java programs. Anyway, we have Oh dear, I only know how to compile my C programs, and I never read the docs when something has to be compiled

[R] question sur R

2005-09-02 Thread Abdelhafid BERRICHI
hello I've tried to simulate a normal law, like that : X1 = c(rnorm(90,50,5583),rnorm(160,1198,13034597),rnorm(40,13,125)) then, I've regressed my ordinal polytomic variable rating rating=c(rep(2,90),rep(3,160), rep(4,40)) rating = as.factor(rating) rating =

Re: [R] Linux Standalone Server Suggestions for R

2005-09-02 Thread Campbell
I think I remember reading somewhere that using Sun Studio compiler generates binaries that run faster than those built using GCC. Presumably this performance gain is increased if the Sun Fortran 95 compiler is used. Whether the substantial cost of Sun Studio is money better spent than that on

Re: [R] R binaries, platform independent and Design of Experiments

2005-09-02 Thread Sean O'Riordain
On 02/09/05, Nam-Ky Nguyen [EMAIL PROTECTED] wrote: b) You do NOT want to do numerical computations on software available in Java byte code. You do not want to do heavy numerical computations with R either. Most statistical calculation using R requires a fraction of a second and I cannot

[R] y-axis intercept

2005-09-02 Thread Samuel E. Kemp
Hi, Is there any way to enforce the plot so that it draws the y-axis intercepting the x-axis at zero. Thanks in advance, Sam. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] y-axis intercept

2005-09-02 Thread Achim Zeileis
On Fri, 2 Sep 2005 11:07:40 +0100 Samuel E. Kemp wrote: Hi, Is there any way to enforce the plot so that it draws the y-axis intercepting the x-axis at zero. I'm not sure what exactly you want, maybe setting ylim or yaxs or both? For example: plot(1:10, xlim = c(0, 10.5), ylim = c(0,

[R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Alvarez Pedro
Dear R list, I have installed R 2.1.1 for Windows. In the help menu of the Rgui I can load all manuals except the reference manual. I downloaded the reference manual from the cran-site separately and saved it into the same folder as the other manuals but still it is not available in the menu. How

Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Peter Dalgaard
Alvarez Pedro [EMAIL PROTECTED] writes: Dear R list, I have installed R 2.1.1 for Windows. In the help menu of the Rgui I can load all manuals except the reference manual. I downloaded the reference manual from the cran-site separately and saved it into the same folder as the other

Re: [R] Gamma for ordinal trends

2005-09-02 Thread Peter Dalgaard
Wuming Gong [EMAIL PROTECTED] writes: Is it possible to use delta method to evaluate the standard error of Goodman-Kruskal gamma and then Wald test to evaluate the significance of association? Wuming Probably better to actually read the paper(s) by GoodmanKruskal (JASA(1972), vol.67,

Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Duncan Murdoch
Alvarez Pedro wrote: Dear R list, I have installed R 2.1.1 for Windows. In the help menu of the Rgui I can load all manuals except the reference manual. I downloaded the reference manual from the cran-site separately and saved it into the same folder as the other manuals but still it is

Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Sean O'Riordain
Actually, I've started reading the reference manual... :-) I printed it out 2-to-a-page and I'm working my way through it, in order to learn about the full capabilities of the base system... I know I'm not going to remember everything, but when I bump into a particular problem, I'll know what

Re: [R] Multivariate Skew Normal distribution

2005-09-02 Thread Kjetil Brinchmann Halvorsen
(Ted Harding) wrote: On 01-Sep-05 Caio Lucidius Naberezny Azevedo wrote: Hi all, Could anyone tell me if there is any package (or function) that generates values from a multivariate skew normal distribution? Thanks all, Caio Hello, Caio Please tell us what you mean by skew

Re: [R] Calculating Goodman-Kurskal's gamma using delta method

2005-09-02 Thread Frank E Harrell Jr
Wuming Gong wrote: Dear list, I have a problem on calculating the standard error of Goodman-Kurskal's gamma using delta method. I exactly follow the method and forumla described in Problem 3.27 of Alan Agresti's Categorical Data Analysis (2nd edition). The data I used is also from the job

Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Duncan Murdoch
On 9/2/2005 8:59 AM, Alvarez Pedro wrote: Re-install, and this time check the box to install that manual. But as Dear Mr. Murdoch, thank you for the answer, apparently there is no other solution than a re-installation. ... or downloading it from CRAN, as you did. Duncan Murdoch

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
Gabor Grothendieck schrieb: If you have not already tried it try creating a fig file: xfig(myfile.fig) plot(1:10) dev.off() and then using the fig2dev utility (find it via google) to convert it to a tiff: fig2dev -L tiff myfile.fig myfile.tiff Error:: fig2def: broken pipe

Re: [R] png scaling problem

2005-09-02 Thread Marc Schwartz
Knut, Gabor has provided a possible approach here. Your comments on using postscript make me wonder how your code looked. The following, for example, will create a 4 inch by 4 inch square plot to an encapsulated postscript file (EPS). It will also specify/include required resources for the

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
but back to the last problem, what could be wrong that the ylab is not displayed as expected? with regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
Knut Krueger schrieb: Ok there is a second description for the file format :-( http://authors.elsevier.com/ArtworkInstructions.html?dc=AI2 there are pdf formats welcome but with defined conditions: Maybe anybody could give me a hint to get the files in the recommendet format. I will ask

[R] Finding all overlaps between two sets of 1-Dimensional regions

2005-09-02 Thread Sean Davis
I have a simply defined regions ([start,end] where startend). I have two large sets of them and want to find all regions in the first that overlap any regions in the second. The closest I could find by searching is overlap.owin in I can do this by looping, but there is likely a better way to do

[R] The Perils of PowerPoint

2005-09-02 Thread Marc Schwartz
Hi all, Below is a URL for an editorial published today in our local newspaper, the Minneapolis StarTribune. It was originally published in the Washington Post a couple of days ago: http://www.washingtonpost.com/wp-dyn/content/article/2005/08/29/AR2005082901444.html but that site requires

Re: [R] png scaling problem

2005-09-02 Thread Gabor Grothendieck
I can't reproduce this problem. It works fine for me. Some possibilities are: 1. check which version of fig2dev you are using. If you are on Windows I am using the fig2dev that comes in winfgi142.zip by Andreas Schmidt found at: http://user.cs.tu-berlin.de/~huluvu/WinFIG.htm Here is the

Re: [R] Pseudo-Voigt fit

2005-09-02 Thread ppancoska
Dear colleagues, thank you very much for help. I have got the most efficient message (?nls) from Bert Gunter and I took off from there and now the routine is up and running with results validated and doing exactly what SigmaPlot did. It required intense ...reading the [EMAIL PROTECTED] manual

Re: [R] 3d cube with labels along axes

2005-09-02 Thread Felipe Csaszar
This may work: - use option axes=F in persp - use locator() to get the coordinates where you want to put your new labels - use text(x,y,...) to write your new labels It is a little bit tedious, but it should work. Regards, Felipe jonne [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [R] png scaling problem

2005-09-02 Thread Marc Schwartz
On Fri, 2005-09-02 at 15:08 +0200, Knut Krueger wrote: but back to the last problem, what could be wrong that the ylab is not displayed as expected? with regards Knut The TIF files seem to be OK. However, the PNG files, as a result of your attempt to scale the plot, do not have enough

Re: [R] Finding all overlaps between two sets of 1-Dimensional regions

2005-09-02 Thread Dimitris Rizopoulos
maybe something like this could work in your case: set1 - t(apply(matrix(rnorm(20), 10, 2), 1, sort)) set2 - t(apply(matrix(rnorm(10), 5, 2), 1, sort)) set1. - apply(set1, 1, rev) apply(set2, 1, function(x) apply(set1. = x, 2, any)) I hope it helps. Best, Dimitris

Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Bjørn-Helge Mevik
Sean O'Riordain writes: Actually, I've started reading the reference manual... :-) I printed it out 2-to-a-page and I'm working my way through it, Ah! This reminds me of the `good old days', reading the Emacs manual, Emacs lisp manual, Gnu C library manual, The payoff came in the

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
thx I will try it ... think I will be newbie in R for the next 10 jears ... And I don't know why wh choosed the only journal which don't want pdf files :-( __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Peter Dalgaard
[EMAIL PROTECTED] (Bjørn-Helge Mevik) writes: Sean O'Riordain writes: Actually, I've started reading the reference manual... :-) I printed it out 2-to-a-page and I'm working my way through it, Ah! This reminds me of the `good old days', reading the Emacs manual, Emacs lisp manual,

Re: [R] png scaling problem - solved :-)

2005-09-02 Thread Knut Krueger
Gabor Grothendieck schrieb: I can't reproduce this problem. It works fine for me. Some possibilities are: 1. check which version of fig2dev you are using. If you are on Windows I am using the fig2dev that comes in winfgi142.zip by Andreas Schmidt found at:

[R] how to fit the partial association model with R?

2005-09-02 Thread 0034058
If I do not make a mistake,the partial association model is an extension of log-linear model.I read a papers which gives an example of it.(Sloane and Morgan,1996,An Introduction to Categorical Data Analysis,Annual Review of Sociology.22:351-375) Can R fit such partial association model?

[R] under sample problem

2005-09-02 Thread emmadigonnet
Hello, I have a problem to treat my data. I seek the orders being able to treat under sampling: I have X samples divided into 10. How to take, in a random way, under sample from the 1st sample, and in addition, one under sample of the 2nd sample, and so on to X to calculate the average

[R] R package for ICA

2005-09-02 Thread Li, Ran
Hi, Which R packages are good to be used for independent component analysis? Thanks for any suggestions. Ran [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] C-index : typical values

2005-09-02 Thread Adaikalavan Ramasamy
I am doing some coxPH model fitting and would like to have some idea about how good the fits are. Someone suggested to use Frank Harrell's C-index measure. As I understand it, a C-index 0.5 indicates a useful model. I am probably making an error here because I am getting values less than 0.5 on

[R] source package linking problem under linux

2005-09-02 Thread Antonio, Fabio Di Narzo
I'm having some problems in installing some source packages under linux. As an example, MCMCpack. An error is raised when linking: install.packages(MCMCpack) [...] * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++

Re: [R] png scaling problem - solved :-)

2005-09-02 Thread Thomas Petzoldt
Yet another Windows solution without winfig: 1. Create a postscript image in R 2. Open this image in Ghostscript 3. Select a reasonable resolution using Display Settings in ghostscript 4. Copy the image via clipboard into your favorite image viewer (e.g. IrfanView) 5. Save the image in the

Re: [R] source package linking problem under linux

2005-09-02 Thread Peter Dalgaard
Antonio, Fabio Di Narzo [EMAIL PROTECTED] writes: I'm having some problems in installing some source packages under linux. As an example, MCMCpack. An error is raised when linking: install.packages(MCMCpack) [...] * Installing *source* package 'MCMCpack' ... checking for C++ compiler

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Robert Baer
The R relevance here might be that all the statistics in the world wrongly applied to data will only bury its information content...R and Powerpoint (and Matlab and Perl and...) are all terrific tools for turning data into knowledge, but tools DO NOT relieve us of the necessity of thinking

[R] glm p-values on features

2005-09-02 Thread Joost van Evert
Dear list, does anyone know how to get p-values on the coefficients returned by glm? thanks+greets, Joost __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] source package linking problem under linux

2005-09-02 Thread Antonio, Fabio Di Narzo
02 Sep 2005 18:15:22 +0200, Peter Dalgaard [EMAIL PROTECTED]: Antonio, Fabio Di Narzo [EMAIL PROTECTED] writes: I'm having some problems in installing some source packages under linux. As an example, MCMCpack. An error is raised when linking: install.packages(MCMCpack) [...] *

Re: [R] Digest reading is tedious

2005-09-02 Thread Michael Dewey
At 11:43 01/09/05, Martin Maechler wrote: [snip section about Trevor Hastie's experience] What are other readers' experiences with mailman mailing lists in digest mode -- using MIME type delivery? I use Eudora 6.2.1.2 (which is not the very latest version) running under Windows 98 or Windows

Re: [R] The Perils of PowerPoint

2005-09-02 Thread davidr
-Original Message- From: ... Robert Baer Sent: Friday, September 02, 2005 11:30 AM It is wrong to blame ANY tool for our own shortcomings! Surely a fortune! David L. Reiner __ R-help@stat.math.ethz.ch mailing list

Re: [R] source package linking problem under linux

2005-09-02 Thread Dirk Eddelbuettel
Antonio, Fabio Di Narzo antonio.fabio at gmail.com writes: I'm using ubuntu 5.04 (debian based), and installed precompiled binary version of R from an italian cran mirror ('woody' subdirectory). Another package with the *same* problem: bayesm. Maybe the problem is that ther's c++ code? What

Re: [R] source package linking problem under linux

2005-09-02 Thread Christian T. Steigies
On Fri, Sep 02, 2005 at 05:33:46PM +, Dirk Eddelbuettel wrote: Antonio, Fabio Di Narzo antonio.fabio at gmail.com writes: I'm using ubuntu 5.04 (debian based), and installed precompiled binary version of R from an italian cran mirror ('woody' subdirectory). Another package with the

[R] setting par() for individual leaves/twigs/labels in plot.dendrogram

2005-09-02 Thread Walton A. Green
R-helpers, I seem to remember a discussion in r-help a while ago about plotting the individual leaves of a dendrogram in different colors, but I can't find the discussion in the archives or figure out how to do it. For my purposes, it doesn't really matter whether its the terminal points

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Achim Zeileis
On Fri, 2 Sep 2005 12:27:45 -0500 [EMAIL PROTECTED] wrote: -Original Message- From: ... Robert Baer Sent: Friday, September 02, 2005 11:30 AM It is wrong to blame ANY tool for our own shortcomings! Surely a fortune! thx, added to the devel-version of fortunes.

[R] Superassignment (-) and indexing

2005-09-02 Thread Brahm, David
In a clean environment under R-2.1.0 on Linux: x - 1:5 x[3] - 9 Error: Object x not found Isn't that odd? (Note x - 9 works just fine.) Why am I doing this? Because I'm stepping through code that normally lives inside a function, where - is appropriate. -- David Brahm ([EMAIL PROTECTED])

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Sean O'Riordain
I can't lay my hands n it at the moment - its around here somewhere, but in Numerical Methods That Work by Forman Acton, the author points out that the result of computation should be insight, not numbers ps. an excellent book if you haven't seen it.

Re: [R] Superassignment (-) and indexing

2005-09-02 Thread Spencer Graves
Permit a mild protest on the word appropriate in this context. The global assignment operator - provides, for my tastes, excessive opportunities for problems. If I define x someplace else and then call your function, it may change my x in ways that generate considerable wailing and

Re: [R] Superassignment (-) and indexing

2005-09-02 Thread Thomas Lumley
On Fri, 2 Sep 2005, Brahm, David wrote: In a clean environment under R-2.1.0 on Linux: x - 1:5 x[3] - 9 Error: Object x not found Isn't that odd? (Note x - 9 works just fine.) Well, yes and no. It is the result of a bug fix a version or two ago that dealt with the case where there was

Re: [R] Superassignment (-) and indexing

2005-09-02 Thread Thomas Lumley
On Fri, 2 Sep 2005, Spencer Graves wrote: Permit a mild protest on the word appropriate in this context. The global assignment operator - provides, for my tastes, excessive opportunities for problems. If I define x someplace else and then call your function, it may change my x in

Re: [R] Superassignment (-) and indexing

2005-09-02 Thread Spencer Graves
Wow! That's great. Thanks. spencer Thomas Lumley wrote: On Fri, 2 Sep 2005, Spencer Graves wrote: Permit a mild protest on the word appropriate in this context. The global assignment operator - provides, for my tastes, excessive opportunities for problems. If I

[R] tcltk - automatically moving cursor to last line of tktext box - how?

2005-09-02 Thread Søren Højsgaard
Hi; I have a program which writes lines to a tktext box (of height, say, 10) with tkinsert(txto, end, paste(so,\n)) I would like my program to be such that it automatically scrolls down through the text box when it is full so that I always see the last 10 lines written. Can anyone help on

Re: [R] tcltk - automatically moving cursor to last line of tktext box - how?

2005-09-02 Thread Peter Dalgaard
Søren Højsgaard [EMAIL PROTECTED] writes: Hi; I have a program which writes lines to a tktext box (of height, say, 10) with tkinsert(txto, end, paste(so,\n)) I would like my program to be such that it automatically scrolls down through the text box when it is full so that I always

Re: [R] C-index : typical values

2005-09-02 Thread Frank E Harrell Jr
Adaikalavan Ramasamy wrote: I am doing some coxPH model fitting and would like to have some idea about how good the fits are. Someone suggested to use Frank Harrell's C-index measure. As I understand it, a C-index 0.5 indicates a useful model. I am No, that just means predictions are

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Ted Harding
On 02-Sep-05 Sean O'Riordain wrote: I can't lay my hands n it at the moment - its around here somewhere, but in Numerical Methods That Work by Forman Acton, the author points out that the result of computation should be insight, not numbers ps. an excellent book if you haven't seen it.

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Marc Schwartz
LOL Ted! That's a great quote for fortune()! On Sat, 2005-09-03 at 01:06 +0100, Ted Harding wrote: On 02-Sep-05 Sean O'Riordain wrote: I can't lay my hands n it at the moment - its around here somewhere, but in Numerical Methods That Work by Forman Acton, the author points out that the

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Tim Churches
(Ted Harding) wrote: By the way, the Washington Post/Minneapolis Star Tribune article is somewhat reminiscent of a short (15 min) broadcast on BBC Radio 4 back on October 18 2004 15:45-16:00 called Microsoft Powerpoint and the Decline of Civilisation which explores similar themes and also

[R] Problems plotting time-series with multiple lines

2005-09-02 Thread Jose Augusto Jr - jamaj - terra
Dear Sirs, I want to plot a time series with lines, one for each variable. I have a dataset with dates, and the values. How can i plot? I could plot one variable using index plot, bu i want to put the labels on X axis. But i had two problems: 1) The plot function, when i try to plot(x,y),

Re: [R] Problems plotting time-series with multiple lines

2005-09-02 Thread Gabor Grothendieck
On 9/2/05, Jose Augusto Jr - jamaj - terra [EMAIL PROTECTED] wrote: Dear Sirs, I want to plot a time series with lines, one for each variable. I have a dataset with dates, and the values. How can i plot? I could plot one variable using index plot, bu i want to put the labels on X axis. But