Re: [R] compile error with C code and standalone R math C library

2003-12-13 Thread Dirk Eddelbuettel
On Sun, Dec 14, 2003 at 12:51:09AM -0500, Faheem Mitha wrote: > On Sat, 13 Dec 2003, Dirk Eddelbuettel wrote: > > > On Sat, Dec 13, 2003 at 07:44:46PM -0500, Faheem Mitha wrote: > > > I just went back to an old piece of C code. On trying to compile it with > > > the R math standalone C library I g

Re: [R] compile error with C code and standalone R math C library

2003-12-13 Thread Faheem Mitha
On Sat, 13 Dec 2003, Dirk Eddelbuettel wrote: > On Sat, Dec 13, 2003 at 07:44:46PM -0500, Faheem Mitha wrote: > > I just went back to an old piece of C code. On trying to compile it with > > the R math standalone C library I got the following error. Can anyone > > enlighten me what I am doing wr

[R] I have a question

2003-12-13 Thread Marcela XX
Hi! I tried lm.ridge() but I don't know yet how to get coefficients and p-values of the model. Can you tell me how to get a similar output like the summary(lm(...)) output? Thanks!!! Marcela __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz

Re: [R] compile error with C code and standalone R math C library

2003-12-13 Thread Dirk Eddelbuettel
On Sat, Dec 13, 2003 at 07:44:46PM -0500, Faheem Mitha wrote: > I just went back to an old piece of C code. On trying to compile it with > the R math standalone C library I got the following error. Can anyone > enlighten me what I am doing wrong, if anything? C file (rr-sa.c) follows. > > I'm on D

[R] density plot for very large dataset

2003-12-13 Thread Obi Griffith
I'm new to R and am trying to perform a simple, yet problematic task. I have two variables for which I would like to measure the correlation and plot versus each other. However, I have ~30 million data points measurements of each variable. I can read this into R from file and produce a plot

[R] compile error with C code and standalone R math C library

2003-12-13 Thread Faheem Mitha
Dear People, I just went back to an old piece of C code. On trying to compile it with the R math standalone C library I got the following error. Can anyone enlighten me what I am doing wrong, if anything? C file (rr-sa.c) follows. I'm on Debian sarge. I'm running R version 1.8.1. Gcc is version

Re: [R] partial proportional odds model (PPO)

2003-12-13 Thread Frank E Harrell Jr
On 13 Dec 2003 10:11:19 +0100 Christoph Lehmann <[EMAIL PROTECTED]> wrote: > Hi > > Since the 'equal slope' assumption doesn't hold in my data I cannot use > a proportional odds model ('Design' library, together with 'Hmisc'). I > would like to try therefore a partial proportional odds model > >

[R] (no subject)

2003-12-13 Thread Allan Kachelmeier
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] sphericity calculation (more formulas?)

2003-12-13 Thread John Christie
I believe that the following function is a good function for eyeballing sphericity. But, I can't find functions for tests anywhere (g-g or h-f). Anyone who wants to can feel free to use it. It is bad that R does not provide any tests for sphericity AND cannot do a MANOVA on repeated measures

[R] adding labels to mosaicplots

2003-12-13 Thread martin
Hi, is there a way to add labels to mosaicplots, similar to barplot where you can use bp <- barplot(data) mtext(at=colMeans(bp),...) to display text at the midpoints of bars/groups of bars. Im thinking of a function or attribute that gives the midpoints (or corners) of the rectangles drawn by

Re: [R] jacobi.root, scre.eq, cgf.0, cgf.1 and cgf.2 R-plus functions nee ded

2003-12-13 Thread Spencer Graves
Dear Marc Brodsky: Do you have those functions in an S-Plus installation to which you have access? If yes, how did that installation come to have those functions? They may not be part of Insightful's intellectual property. If so, can you find out how they became part of that installati

Re: [R]??devga??

2003-12-13 Thread Prof Brian Ripley
You very likely have a saved version of windows() in your saved workspace from an earlier version of R. ALWAYS start with --vanilla before posting to R-help. On Sat, 13 Dec 2003, Fredrik Lundgren wrote: > To R-help, > > I recently installed R Version 1.8.1 (2003-11-21), ISBN 3-900051-00-3 and

[R]??devga??

2003-12-13 Thread Fredrik Lundgren
To R-help, I recently installed R Version 1.8.1 (2003-11-21), ISBN 3-900051-00-3 and use Win 98SE When I plot I get the following result ### > plot(1:10, 1:10) Error in windows() : 10 arguments passed to "devga" which requires 13. ### What should I do to "devga"? Sincerely Fredr

Re: [R] Basic question on function

2003-12-13 Thread Gabor Grothendieck
In that particular case there is also which.max(x) --- Date: Sat, 13 Dec 2003 13:31:42 - (GMT) From: <[EMAIL PROTECTED]> To: Martin Maechler <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Subject: Re: [R] Basic question on function "identical" On 13-Dec-03 Martin Maechler wrote: > I

Re: [R] half normal probability plot in R

2003-12-13 Thread Douglas Bates
"Allison Jones" <[EMAIL PROTECTED]> writes: > I have generated the effects in a factorial design and now want to put > them in a half normal probability plot. Is there an easy way to do > this in R??? I can't find the command. Thanks much - Long ago I wrote a half-normal plot for Minitab but I ha

Re: [R] mode

2003-12-13 Thread Ted Harding
Sorry, typo: On 13-Dec-03 Ted Harding wrote: > Example of kernel density estimation: > > X<-c(rnorm(200),2+0.5*rnorm(300)) > hist(X,freq=FALSE,breaks=(-4)+0.2*(0:50)) > S<-density(X,from=(-4),to=5,bw=0.2) > N<-length(S$y) > V1<-S$y[1:(N-2)];V2<-S$y[2:(N-1)];V3<-S$y[3:N] > ix<-1+which(

Re: [R] Basic question on function "identical"

2003-12-13 Thread Ted Harding
On 13-Dec-03 Martin Maechler wrote: > In general, use > > == for testing equality of integer numbers (of type "integer" >or not) I hope this is not a suggestion to avoid usage like which(x == max(x)) when x is a vector of reals? (i.e. should be OK when you know that the th

Re: [R] mode

2003-12-13 Thread Ted Harding
Douglas Bates wrote: > "Christian Mora" <[EMAIL PROTECTED]> writes: >>How can I get the mode (most frequent value) from a dataset >>(continuos variables)? I can obtain it when the data is discrete >>(by making a table and looking at the higher frequency) but I >>don't know how obtain it from, for e

[R] Session logging

2003-12-13 Thread Al Piszcz
another option in LINUX/UNIX is 'script' $ script R etc. $ CTRL-D script - make typescript of terminal session SYNOPSIS script [-a] [-f] [-q] [-t] [file] DESCRIPTION Script makes a typescript of everything printed on your terminal. It is useful for students who need a ha

Re: [R] Basic question on function "identical"

2003-12-13 Thread Martin Maechler
> "TL" == Thomas Lumley <[EMAIL PROTECTED]> > on Fri, 12 Dec 2003 14:54:51 -0800 (PST) writes: TL> On Fri, 12 Dec 2003, John Welsh wrote: >> >> >> > for(i in c(1:5)) + { + print(identical(i,1)) + } >> >> [1] FALSE [1] FALSE [1] FALSE [1] FALSE [1] FALSE >

[R] half normal probability plot in R

2003-12-13 Thread Allison Jones
I have generated the effects in a factorial design and now want to put them in a half normal probability plot. Is there an easy way to do this in R??? I can't find the command. Thanks much - Ali Jones _ Our best dial-up offer is ba

Re: [R] jacobi.root, scre.eq, cgf.0, cgf.1 and cgf.2 R-plus functions nee ded

2003-12-13 Thread Martin Maechler
> "MBro" == Brodsky, Marc D (NIH/NIDA) <[EMAIL PROTECTED]> > on Fri, 12 Dec 2003 14:21:06 -0500 writes: MBro> Who can send to me code that can perform in R-plus R-plus ? This mailing list is about R ... MBro> jacobi.root, scre.eq, cgf.0, cgf.1 and cgf.2 that are MBro> pa

[R] partial proportional odds model (PPO)

2003-12-13 Thread Christoph Lehmann
Hi Since the 'equal slope' assumption doesn't hold in my data I cannot use a proportional odds model ('Design' library, together with 'Hmisc'). I would like to try therefore a partial proportional odds model Please, could anybody tell me, where to find the code and how to specify such a model ..