[R] help: trouble using lines()
S.Pickett at exeter.ac.uk
Thu Aug 24 14:43:18 CEST 2006
Hi R experts,
I have been using ReML as follows...
mtf:treat+ treat:year+ year:treat:mtf+(1|fybrood), data = A)
then I wanted to plot the results of the three way interaction using
lines() as follows...
graph1<-plot(mtf,fitted(f2), xlab=list("Brood Size"), ylab=list("Early
growth rate"), pch=16, col="darkgrey", bg="yellow")
but no matter what I try I always get the error message
"Error in xy.coords(x, y) : 'x' and 'y' lengths differ"
Can anyone shed some light please?
I am basically copying the methods of the pdf entitled "Linear mixed
models in R" by Søren Feodor Nielsen 20003.
Centre For Ecology and Conservation
University of Exeter in Cornwall
More information about the R-help