Displaying 3 results from an estimated 3 matches for "0.3231".
Did you mean:
0.321
2009 Jul 08
2
Two-way ANOVA gives different results using anova(lm()) than doing it by hand
Hey!
Could you please take a quick look at what I have done? Somehow I get wrong results using the anova(lm()) combination compared to doing a two way ANOVA by hand.
Running:
Data<-read.table("Data.txt");
g<-lm(ExM~S1*S2,Data);
anova(g);
Gives:
Analysis of Variance Table
Response: ExM
Df Sum Sq Mean Sq F value Pr(>F)
S1 1 4.3679
2008 May 25
1
How to write a package based on nlme
Dear R Helpers,
I try to write a small package that based on nlme however my code does
not work.
R always appears this message:
Error in eval(expr, envir, enclos) : object "y" not found
where y is the response variable. Please help me out!
This is my code:
require(nlme)
AMPmixed<-function(y, x, S1=c("asymptotic","logistic"), random,data,
2009 Jul 09
2
How to Populate List
Hi,
I'm new to R and would like to know, how one can populate the list with array data.
I'm reading a tab separated table in R. The data in the table looks something like this.
#Table Data
Comp A B C
Extracellular 103 268 535759
Nucleus 45603 47783 442744
#R code
myData <- read.table("table.data",
header=T,