[R] Type I SS and Type III SS problem

2008-09-19 Thread leeznar
Dear all: I m a newer on R.  I have some problem when I use anova function.  I use anova function to get Type I SS results, but I also need to get Type III SS results.  However, in my code, there is some different between the result of Type I SS and Type III SS.  I don’t know why the “seqe”

[R] “Check” problem

2008-07-09 Thread leeznar
Dear all: I ‘m a newer. I have some problem when I check my package. The error messages were as follows. It shows that the problem is about Rd file. How can I find where the error is? How can I do?? c:\tempRcmd check bear * checking for working pdflatex ... OK * using log directory

[R] Problems with lm()

2008-06-19 Thread leeznar
Dear R-users: I am a new R-user and I have a question about lm function. Here is my data. a-c(1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14) b-c(1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2) c-c(2,1,1,2,2,1,1,2,2,1,1,2,2,1,1,2,2,1,1,2,2,1,1,2,2,1,1,2)

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

2007-12-27 Thread leeznar
Dear all: I am a new R-user and I have 2 questions about it. 1) I have a dataframe. Based on “formulation” and “subject”, a dataframe is split into 4 dataframes. The example is as follows. Moreover, I want to calculate “test” value for these 4 dataframes. My question is that the

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

2007-11-28 Thread leeznar
Dear all: I am a new R-user and I have 2 questions about it. 1) I need to find specific sub-dataframe, and then use specific column to calculate. For example, after splitting dataframe, I find specific the sub-dataframe, such as “A.split [1]”. But, I don’t know how to find “time” and

[R] miscalculate AUC

2007-10-30 Thread leeznar
Dear R-helper, I have subject 1, 2, 3 and formulation S, MF, MM. I have a problem in calculating AUC. The AUC (0~t) in formulation MF and MM were miscalculated, but I don’t know where my problem is. Here is my code and output. test-function( InVVTestindex, separateWindows=TRUE)