Dear all,
I need to understand a thing in the beheaviour of the two functions aov and 
anova in the following case
involving an analysis of ANOVA with repeated measures:

If I use the folowing command I don´t get any problem:

>aov1 = aov(response ~ stimulus*condition + Error(subject/(stimulus*condition)), 
>data=scrd)
> summary(aov1)

Instead if I try to fit the same model for the regression I get an error:
> fit1<- lm(response ~ stimulus*condition + Error(subject/(stimulus*condition)), 
>data=scrd) 
>
Error in eval(expr, envir, enclos) : could not find function "Error"

so I cannot run the command anova(fit1) afterwards.


I want to use fit1<- lm(response ~ stimulus*condition + 
Error(subject/(stimulus*condition)), data=scrd) 

because I want to analyze the residuals in order to check normality, and see if 
the anova assumption of normality
still holds.

Could you please help me in understanding how to do this?

Thanks in advance

Best regards


      
	[[alternative HTML version deleted]]

