[R] How to add values on the axes of the 3D bi-variable lrm fit?

Jan Verbesselt Jan.Verbesselt at biw.kuleuven.be
Mon Aug 29 11:09:00 CEST 2005


Thanks a lot!

A great solution! The 3D-perspective plot can be fine-tuned by adding a list
to the argument 'perspArgs' of the function plot.Design.

Package: Design, Hmisc.

> fit <- lrm(y ~ rcs(x1,knots)+rcs(x2,knots), tol=1e-14,X=T,Y=T)
>
> dd <- datadist(x1,x2);options(datadist='dd');
>
> par(mfrow=c(1,1))
>

plot(fit,x1=NA, x2=NA, theta=50,phi=25, ,perspArgs=list(ticktype="detailed",
col="lightblue", expand=0.80)))

Best regards,
Jan

⇒ The posting-guide is indeed important and useful. thx
*** http://www.R-project.org/posting-guide.html ***




More information about the R-help mailing list