[R] LocFit

Liaw, Andy andy_liaw at merck.com
Mon Mar 6 14:14:05 CET 2006


From: Jacob van Wyk
> 
> I have a question regarding the package LOCFIT of C Loader.
> 
> After fitting a smooth surface (y modeled by two regressors), 
> I can't seem to find a nice way of making a perspective (or 
> other 3d plot). The contours don't look quite so good.
> 
> It is meant to be used as illustration of smoothing to my 
> students in regression analysis.
> 
> Could anybody perhaps assist me in producing a "good" graph 
> in 3d? It probably works in S-Plus, but I am using R.
> 
> (I have tried plot (locfit object, type="persp") on the 
> ethanol dataset
> - but this gives a poor result, with a few warnings.)

Could you elaborate on what `poor result' means?  It doesn't look half bad
to me (except perhaps it needs to be rotated a bit)...

Andy


 
> THANK YOU!.
> Jacob
> 
> 
> Jacob L van Wyk
> Department of Statistics
> University of Johannesburg APK
> P O Box 524
> Auckland Park 2006
> South Africa
> Tel: +27-11-489-3080
> Fax: +27-11-489-2832
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list