[R] install.packages reshape failure

2011-03-13 Thread Geoff Russell
I'm not sure where I should send this, I don't have a bugzilla account, but ... it concerns an interaction between library(reshape) and install.packages() ... My current .Rprofile includes: library(reshape) After which install.packages fails ... e.g., install.packages(quantreg) Warning in

Re: [R] xyplot formula

2011-02-18 Thread Geoff Russell
, Geoff. HTH, Dennis On Thu, Feb 17, 2011 at 10:41 PM, Geoff Russell geoffrey.russ...@gmail.com wrote: df=data.frame(country=c(A,A,A,B,B,B), food=rep(c(Apples,Pears,Bananas),2), X2000=c(4,5,6,7,6,8), X2001=c(4,5,6,7,6,8), X2002=c(4,5,6,7,6,8), X2003=c(4,5,6,7,6,8)); I

[R] xyplot formula

2011-02-17 Thread Geoff Russell
df=data.frame(country=c(A,A,A,B,B,B), food=rep(c(Apples,Pears,Bananas),2), X2000=c(4,5,6,7,6,8), X2001=c(4,5,6,7,6,8), X2002=c(4,5,6,7,6,8), X2003=c(4,5,6,7,6,8)); I have data in the above form trying to get a plot of each fruit over time year conditioned on country and food.

Re: [R] xyplot formula

2011-02-17 Thread Geoff Russell
UC Berkeley spec...@stat.berkeley.edu On Fri, 18 Feb 2011, Geoff Russell wrote: df=data.frame(country=c(A,A,A,B,B,B), food=rep(c(Apples,Pears,Bananas),2), X2000=c(4,5,6,7,6,8), X2001=c(4,5,6,7,6,8), X2002=c

[R] compilation options to get install.packages() to invoke tcl/tk

2009-10-28 Thread Geoff Russell
/tk, but the configure script says that --with-tcltk is the default. Can anybody tell me what I missed please? Cheers, Geoff Russell __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] compilation options to get install.packages() to invoke tcl/tk

2009-10-28 Thread Geoff Russell
On Wed, Oct 28, 2009 at 9:27 PM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote: Geoff Russell wrote: Hi UseRs, I've just installed 2.10.0 on Ubuntu hardy, compiling from the tar.gz bundle. install.packages() just says Error in install.packages() : no packages were specified [snip

[R] transposition problem

2008-04-16 Thread Geoff Russell
Hi use Rs, I have a csv file: 1989-90,1990-91 Barley,23,34 Oats,15,16 Which I want to turn into: year, Barley, Oats 1 1989-90, 23, 15 2 1990-91,34,16 Transpose doesn't quite do it, is there a standard way? Cheers, Geoff Russell __ R-help@r

Re: [R] transposition problem

2008-04-16 Thread Geoff Russell
and not rownames: data.frame(Year = names(x), t(unname(x))) On Wed, Apr 16, 2008 at 7:27 AM, Geoff Russell [EMAIL PROTECTED] wrote: Hi use Rs, I have a csv file: 1989-90,1990-91 Barley,23,34 Oats,15,16 Which I want to turn into: year, Barley, Oats 1 1989-90, 23, 15 2

Re: [R] survival analysis and censoring

2008-03-12 Thread Geoff Russell
Dear Prof. Therneau, Many thanks for this, On 3/13/08, Terry Therneau [EMAIL PROTECTED] wrote: In your particular case I don't think that censoring is an issue, at least not for the reason that you discuss. The basic censoring assumption in the Cox model is that subjects who are

[R] A stats question -- about survival analysis and censoring

2008-03-10 Thread Geoff Russell
will introduce a bias, but I don't know how to correct for it. Many thanks, Geoff Russell -- an interested student __ 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

[R] scatterplot3d with categorical data

2008-01-26 Thread Geoff Russell
this (according to the documentation). What am I doing wrong, or is there some restriction on the way the function works? Cheers, Geoff Russell __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] barplots and missing xlabels

2008-01-14 Thread Geoff Russell
See below On 1/14/08, Jim Lemon [EMAIL PROTECTED] wrote: Geoff Russell wrote: Dear useRs, The following plots only print 2 of the 4 labels under the bars, is there a way please to force all 4 labels to print? par(mfrow=c(1,2),mar=c(2,7,3,1)) dat-data.frame(AgeGroup=c(2-15,16-20,21

Re: [R] barplots and missing xlabels

2008-01-14 Thread Geoff Russell
=c(Prevalence (%))) mtext(as.vector(dat$AgeGroup),1,2,at=xpos) Many thanks, Geoff. Gz Jim Lemon-2 wrote: Geoff Russell wrote: Dear useRs, The following plots only print 2 of the 4 labels under the bars, is there a way please to force all 4 labels to print? par(mfrow=c(1,2

[R] barplots and missing xlabels

2008-01-13 Thread Geoff Russell
),names=as.vector(dat$AgeGroup),ylab=c(Prevalence (%))) title(main=list(Aorta,font=0)) barplot(dat$Coro,names=as.vector(dat$Age),ylim=c(0,100)) title(main=list(Coronary Artery,font=0)) Many thanks, Geoff Russell __ R-help@r-project.org mailing list https