demo/cs43.r

data (mozart.df)
interactionPlots(Time~Movement+Period,data=mozart.df)
mozart.fit<-lm(Time~Movement+Period+Movement*Period,data=mozart.df)
eovcheck(mozart.fit)
mozart.fit1<-lm(log(Time)~Movement+Period+Movement*Period,data=mozart.df)
eovcheck(mozart.fit1)
summary2way(mozart.fit1,page="table")
normcheck(mozart.fit1)
summary2way(mozart.fit1,page="interaction")

Try the s20x package in your browser

Any scripts or data that you put into this service are public.

s20x documentation built on Aug. 21, 2023, 5:07 p.m.