Re: [R] Problems with lm()

2008-07-01 Thread Hsin-Ya Lee
Dear Dr. Dalgaard Sorry for delay reply.. That's exactly what I was looking for - thanks a lot. Hsin-Ya Peter Dalgaard wrote: > > > > Andrew Robinson wrote: >> In your data, subject is nested within sequence. Was that your >> intention? >> >> > Presumably yes. This looks like a standar

Re: [R] Problems with lm()

2008-06-20 Thread Hsin-Ya Lee
gt;> print(lm3) >> anova(lm3) >> >> When I use lm to fit the data, there are some problems >> in ??subject*sequence??. I have use GLM in SPSS to >> fit the same data, and it seems there is no problem. >> >> I don??t know where my problem is. How can

Re: [R] How to catch data from the different dataframes and lm problem?

2007-12-30 Thread Hsin-Ya Lee
o fit linear models. So, how to catch all “test” values from different dataframes? Or what should I do? Best regards, Hsin-Ya Lee -- View this message in context: http://www.nabble.com/How-to-catch-data-from-the-different-dataframes-and-lm-problem--tp14521967p14554872.html Sent from the R help

Re: [R] How to catch data from the different dataframes and lm problem?

2007-12-30 Thread Hsin-Ya Lee
gression. For example, I used the “regression” function of Microsoft Excel 2003 and intercept is -0.01894 and X is 0.185758. I think that if I can catch “test” (Y) values and “concentration” (X) values into a dataframe, then I can use “lm” to fit linear models. So, how to catch all “test” values fro

Re: [R] how to find and use specific column after spliting dataframe

2007-11-28 Thread Hsin-Ya Lee
=x, formulation=y, subject=z, time=t, concentration=c) A.split<-split(df, list(df$pH ,df$formulation, df$subject) ) A.split [] Best regards, Hsin-Ya Lee Henrique Dallazuanna wrote: > > Try this: > > A.split[[1]]["time"] > A.split[[1]][["concentration"