Re: [R] Putting regression lines on SPLOM

2003-09-05 Thread Ted Harding
Thanks, Deepayan and Andy, for suggesting solutions. Deepayan's solution seems to work beautifully, producing exactly what is wanted, as it stands: On 05-Sep-03 Deepayan Sarkar wrote: splom(log(1 + DF), panel = function(x, y, ...) { panel.xyplot(x, y, ...) ok

Re: [R] gnome gui question

2003-09-05 Thread Martin Maechler
Anne == Anne York [EMAIL PROTECTED] on Thu, 4 Sep 2003 10:41:25 -0700 (PDT) writes: Anne I have compiled R 1.7.1 with gnome and installed the Anne gtkDevice on a Linux RH 8 system. This is my first use Anne of this device and I have two questions about it. Anne 1. After

Re: [R] Installing R on Red Hat Linux, Tcl/Tk

2003-09-05 Thread Marc Schwartz
On Fri, 2003-09-05 at 07:13, James Wettenhall wrote: Hi, I've been trying to install R on Red Hat Linux 9 for some potential users of my R/TclTk application. I tried using the rpm for R 1.7.1 for Red Hat Linux 9. It told me that I needed: libtcl8.3.so so I looked for a binary release of

Re: [R] Overlaying graphs

2003-09-05 Thread Paul Meagher
From: Damon Wischik [EMAIL PROTECTED] Paul Meagher wrote: 2. Does R have a suite of best-fit tools for finding the best fitting-probability distribution for any observed probability distribution? I think that the best-fitting probability distribution for an observed probability

[R] multivariate spec.ar

2003-09-05 Thread Hugo Vilela Mendes
Im trying to perform an autoregressive spectral analysis to a multivariate time series in order to analyse cross spectrum. The multivariate case is not yet implemented; i would like to know if there are some package or add-on that allows to perform spec.ar analysis on multivariate time series

Re: [R] scatter.smooth warning k-d tree -- loess bowels

2003-09-05 Thread Martin Maechler
Peter == Peter Flom [EMAIL PROTECTED] on Thu, 04 Sep 2003 13:28:12 -0400 writes: Peter Hello When I run Peter scatter.smooth(jitter(weight), jitter(height2), span Peter= .25, evaluation = 50, pch = '.') Peter I get the type of graph I thought I would get,

Re: [R] Two questions about building R add-on package

2003-09-05 Thread A.J. Rossini
Brian D Ripley [EMAIL PROTECTED] writes: From [EMAIL PROTECTED] Windows Versions of R and R packages under Intel Linux$)A!1 by Jun Yan and A. J. Rossini and used their Makefile. But it kept giving error We quite explicitly say you need to build R first. If Yun-Rossini do not, As far

[R] skins in R?

2003-09-05 Thread solares
Hello, it wanted to know if exists in R any package that carry out skins on the widget of tcl, rounded button style window XP. Thanks Ruben __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] all values from a data frame

2003-09-05 Thread Arne.Muller
Hello, I've a data frame with 15 colums and 6000 rows, and I need the data in a single vector of size 9 for ttest. Is there such a conversion function in R, or would I have to write my own loop over the colums? thanks for your help + kind regards Arne

RE: [R] Putting regression lines on SPLOM

2003-09-05 Thread Ted Harding
Another query: I'm now trying to have the x- and y-axes all on the same scale (0:15) in every panel, whereas the default behaviour of splom is to scale them according to the ranges of the individual variables in each panel. So I tried (emulating the responses to my earlier query):

RE: [R] all values from a data frame

2003-09-05 Thread Simon Fear
Use unlist. In any case, don't write an explicit loop over the columns. See ?lapply instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:08 To: [EMAIL PROTECTED] Subject: [R] all values from a data frame Security Warning: If

Re: [R] all values from a data frame

2003-09-05 Thread John Fox
Dear Arne, At 05:07 PM 9/5/2003 +0200, [EMAIL PROTECTED] wrote: Hello, I've a data frame with 15 colums and 6000 rows, and I need the data in a single vector of size 9 for ttest. Is there such a conversion function in R, or would I have to write my own loop over the colums? thanks

Re: [R] all values from a data frame

2003-09-05 Thread partha_bagchi
If I understand you correctly, you want to stack the 15 columns on top of one another? I assuming all the data is numeric? In this case, convert the data.frame to a matrix and set the dim of the matrix to NULL. If df is the data.frame, df1 - as.matrix(df) dim(df1) - NULL [EMAIL

[R] eliminating a large subset of data from a frame

2003-09-05 Thread Peter Whiting
I have a data frame with 155,000 rows. One of the columns represents the user id (of which about 10,000 are unique). I am able to isolate 1000 of these user ids (stored in a list) that I want to eliminate from the data set, but I don't know of an efficient way to do this. Certainly this would be

Re: [R] Basic Dummy Variable Creation

2003-09-05 Thread Peter Dalgaard BSA
Douglas Bates [EMAIL PROTECTED] writes: x - c(1:10) #data to be broken up into dummy variables v - c(3,5,7) #breakpoints p = 1#drop this column to avoid dummy variable trap How can I get a matrix y that has the associated dummy variables for columns?

Re: [R] Basic Dummy Variable Creation

2003-09-05 Thread Francisco J. Bido
Thanks Douglas, I see what your saying. One of the reasons that I ask this question (besides being a complete R rookie) is to obtain good form and habits. R seems to be extremely capable and flexible (and of course also pretty dense) thank God for the mailing list. Your example and the

Re: [R] Basic Dummy Variable Creation

2003-09-05 Thread kjetil brinchmann halvorsen
On 5 Sep 2003 at 8:31, Francisco J. Bido wrote: Yes, model matrix is the answer, and if it has many arguments, it also has many reasonable defaults. When I am trying out a new function, I just accept the dafaults for a starter. x - c(1:10) #data to be broken up into dummy variables v

[R] R Documentation with Emphasis on Econometrics

2003-09-05 Thread Francisco J. Bido
Hi Everyone, There's a lot of good documentation out there but I haven't come across one that makes econometrics it's primary focus. Do any of you know of any? Thanks, -Francisco __ [EMAIL PROTECTED] mailing list

RE: [R] R Documentation with Emphasis on Econometrics

2003-09-05 Thread Bart Benthul
Short and basic: http://www.buseco.monash.edu.au/depts/ebs/pubs/wpapers/2001/10-01.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francisco J. Bido Sent: Friday, September 05, 2003 10:52 AM To: [EMAIL PROTECTED] Subject: [R] R Documentation with

Re: [R] Putting regression lines on SPLOM

2003-09-05 Thread Deepayan Sarkar
On Friday 05 September 2003 10:04 am, Ted Harding wrote: Another query: I'm now trying to have the x- and y-axes all on the same scale (0:15) in every panel, whereas the default behaviour of splom is to scale them according to the ranges of the individual variables in each panel. So I

Re: [R] Putting regression lines on SPLOM

2003-09-05 Thread Deepayan Sarkar
Oops, forgot the attachment. On Friday 05 September 2003 12:45 pm, Deepayan Sarkar wrote: The prepanel function returns separate limits for x and y axes. This does not translate to splom, since each limit is used on both the x and y axes. However, it is natural to add a new optional

Re: [R] Basic Dummy Variable Creation

2003-09-05 Thread Rolf Turner
In response to a question from Francisco J. Bido, about how to create dummy variables, Doug Bates and others essentially said ``Don't.'' Which is good advice, but Recently I encountered a problem involving a linear model with a three level factor (levels low, medium, and high) crossed with

[R] Dotchart question

2003-09-05 Thread Peter Flom
Sorry to keep asking elementary questions..I appreciate the help. I am trying to create a dotchart with the rows sorted according to the values, rather than the labels. When I try prof - c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General

Re: [R] Basic Dummy Variable Creation

2003-09-05 Thread Spencer Graves
One must estimate 2 coefficients for a 3-level factor. I therefore prefer to look for a plausible order between the 3 levels so I can code them as -1, 0, +1 and then estimate linear and quadratic coefficients. Then for interactions, I look first for interactions between the linear effect

Re: [R] Putting regression lines on SPLOM

2003-09-05 Thread Ted Harding
On 05-Sep-03 Deepayan Sarkar wrote: Oops, forgot the attachment. On Friday 05 September 2003 12:45 pm, Deepayan Sarkar wrote: The prepanel function returns separate limits for x and y axes. This does not translate to splom, since each limit is used on both the x and y axes. However, it

Re: [R] Dotchart question

2003-09-05 Thread Tito de Morais Luis
This one is ugly, but works... molprof-data.frame(mol,prof) molprof - molprof[with(molprof,order(mol)), ] dotchart(molprof$mol, labels = as.character(molprof$prof), main = 'Dot chart', xlab = 'Meaning of life score') HTH Tito Le ven 05/09/2003 à 18:30, Peter Flom a écrit : Sorry to keep

Re: [R] stack overflow

2003-09-05 Thread Thomas W Blackwell
Bill - Here's what I would do, starting after your display of anovaresults[[1]]. temp.1 - unlist(lapply(anovaresults, function(x) { x[Pr(F)][1:3],] })) temp.2 - matrix(temp.1, length(anovaresults), 3, byrow=T) dimnames(temp.2) - list(names(anovaresults),

Re: [R] stack overflow

2003-09-05 Thread Peter Dalgaard BSA
William Noble [EMAIL PROTECTED] writes: Hello, I am trying to do an ANOVA on a microarray data set consisting of 22690 elements. The ANOVA is fine, but when I try to put the data in a frame in order to exporting it, I get a stack overflow. I have found documentation on dynamic memory in

Re: [R] Dotchart question

2003-09-05 Thread kjetil brinchmann halvorsen
On 5 Sep 2003 at 14:30, Peter Flom wrote: prof - c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General practictioner', 'Graduate student', 'High level manager', 'Low level manager', 'Mechanical engineer', 'Mechanic', 'Minister/priest/rabbi',

RE: [R] R Documentation with Emphasis on Econometrics

2003-09-05 Thread len vir
It's been published in: Journal of Applied Econometrics 17 : 175-189 (2002) Bart Benthul [EMAIL PROTECTED] wrote: Short and basic: http://www.buseco.monash.edu.au/depts/ebs/pubs/wpapers/2001/10-01.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

[R] Using subset with describe in Hmisc

2003-09-05 Thread Greg Blevins
Hello, This is an embarassingly simple question, but I cannot get subset to work with describe. dataframe is attached and called Ph describe(q1, subset=qs3a==1) qs3a is numeric. This runs, but no subset takes place. Thanks in advance. Greg Blevins The Market Solutions Group

Re: [R] Installing R on Red Hat Linux, Tcl/Tk

2003-09-05 Thread Marc Schwartz
On Fri, 2003-09-05 at 21:37, Dirk Eddelbuettel wrote: On Fri, 2003-09-05 at 07:13, James Wettenhall wrote: I've been trying to install R on Red Hat Linux 9 for some potential users of my R/TclTk application. I tried using the rpm for R 1.7.1 for Red Hat Linux 9. It told me that I needed: