Re: [R] error when using multcomp and lm

2009-12-18 Thread chrischizinski
Just in case anyone ever has similar issues, it appears that 'glht' does not work without an intercept. -- View this message in context: http://n4.nabble.com/error-when-using-multcomp-and-lm-tp964705p974823.html Sent from the R help mailing list archive at Nabble.com.

[R] error when using multcomp and lm

2009-12-15 Thread chrischizinski
I am trying to use multcomp to do a Tukey posthoc on growth increments among genetic crosstypes. #Fixed effect model m1 <- lm(inc ~ 0 + Age+ Crosstype + Sex, data = Data.age) summary(m1) RESULTS of the model: summary(m1) Call: lm(formula = inc ~ 0 + Age + Crosstype + Sex, data = Data.age) Res

Re: [R] problem with 'which' and strings

2009-02-11 Thread Chrischizinski
All it took was using 'match' instead of 'which'. Thanks for all your help! -- View this message in context: http://www.nabble.com/problem-with-%27which%27-and-strings-tp21955970p21958266.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] problem with 'which' and strings

2009-02-11 Thread Chrischizinski
sing; > >> orig.metric.scores[,no]<- IBI.table.0$IBI.score > > -- > David Winsemius > > On Feb 11, 2009, at 9:20 AM, Chrischizinski wrote: > >> >> I have written a function that goes through a database and >> calculates various >> metric sco

[R] problem with 'which' and strings

2009-02-11 Thread Chrischizinski
I have written a function that goes through a database and calculates various metric scores and allocates them to a data set. For 400 of the 500 sites that I calculate these metrics for works fine and allocates the scores into the appropriate column. For some reason, some sites I run into the be

Re: [R] odbcConnectExcel2007

2008-10-28 Thread Chrischizinski
Agnolucci, Paolo wrote: > > Hi > > > > sorry if this is really basic but I am just starting on R. > > > > Can anyone point me at how to write R objects into Excel 2007 files. I > have seen how to set up a connection to a file through > odbcConnectExcel2007(xls.file, readOnly = FALSE, ...