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

Re: [R] xyplot formula

2011-02-18 Thread Geoff Russell
variable | country * food, data = dfm) > Yes, this helps too. The reshape package seems a little clearer, to me at least, than the reshape function. Many thanks, Geoff. > > HTH, > Dennis > > On Thu, Feb 17, 2011 at 10:41 PM, Geoff Russell < > geoffrey.russ...@gmail.com>

Re: [R] xyplot formula

2011-02-17 Thread Geoff Russell
mputing Facility > Department of Statistics > UC Berkeley > spec...@stat.berkeley.edu > > > > > On Fri, 18 Feb 2011, Geoff Russell wrote: > > df=data.frame(country=c(

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

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

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

2009-10-28 Thread Geoff Russell
missed a configure option for tcl/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 PL

Re: [R] transposition problem

2008-04-16 Thread Geoff Russell
quot;,", header = T, check.names = FALSE) > > t(x) > > or if you want year as column 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: > > > > >

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

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

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

2008-03-11 Thread Geoff Russell
Hi Max, Matthias and David and anyone else interested, My question was prompted by seeing various prospective cohort studies which are deriving the RR of colorectal cancer due to smoking and which simply censor people who die from diseases other then colorectal cancer and then use coxph to get an

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

2008-03-10 Thread Geoff Russell
eaths 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-proj

Re: [R] scatterplot3d with categorical data

2008-01-26 Thread Geoff Russell
On Jan 26, 2008 11:23 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > On 26/01/2008 5:24 AM, Geoff Russell wrote: > > Dear users, > > > > I'm trying to produce a 3d bar plot but the x and y dimensions have > > categorical > > data --

[R] scatterplot3d with categorical data

2008-01-26 Thread Geoff Russell
quot;,"Black"), main="My Bar Plot") But I still get x ticks at 1, 1.5, 2, 2.5, 3 on both x and y axes. I thought lab controlled this (according to the documentation). What am I doing wrong, or is there some restriction on the way the function works? Cheers, Geoff Russell

Re: [R] barplots and missing xlabels

2008-01-14 Thread Geoff Russell
c(0,100), names=rep("",length(dat$AgeGroup)), ylab=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 f

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(mfr

[R] barplots and missing xlabels

2008-01-13 Thread Geoff Russell
uot;=c(20,8,30,60), "Coronary"=c(7,30,55,65)) barplot(dat$Aorta,ylim=c(0,100),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",fon