Skip to content

augPred plot in nlme library

1 message · Afshartous, David

#
Hi Peter,

Thanks for the email.  No, plot(augPred(fm2c)) still
graphs the original points but doesn't graph the 
prediction curve.  However, this is solved by hardcording
the dependent variable as below.  yes, I attached Orthodont.


cheers,
dave


-----Original Message-----
From: Petr Pikal [mailto:petr.pikal at precheza.cz] 
Sent: Monday, September 11, 2006 2:52 AM
To: Afshartous, David; r-help at stat.math.ethz.ch
Subject: Re: [R] augPred plot in nlme library

Hi

please try not to hide an information
Error in log(distance) : object "distance" not found

Is it what you have got and what you mean by "does not graph any 
prediction at all"?

If not did you attached Orthodont before?

I suppose plot.augPred probably expects the same name for original 
and and fitted data. You can go through source code to see what 
happens by

nlme:::plot.augPred

HTH
Petr
On 9 Sep 2006 at 13:39, Afshartous, David wrote:
Date sent:      	Sat, 9 Sep 2006 13:39:04 -0400
From:           	"Afshartous, David"
<afshart at exchange.sba.miami.edu>
To:             	"Deepayan Sarkar" <deepayan.sarkar at gmail.com>
Copies to:      	r-help at stat.math.ethz.ch
Subject:        	Re: [R] augPred plot in nlme library
Petr Pikal
petr.pikal at precheza.cz