Skip to content
Back to formatted view

Raw Message

Message-ID: <002901c5ac79$4b4f36b0$1145210a@agr.ad10.intern.kuleuven.ac.be>
Date: 2005-08-29T09:09:00Z
From: Jan Verbesselt
Subject: How to add values on the axes of the 3D bi-variable lrm fit?
In-Reply-To: <430FD617.5020800@pdf.com>

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 ***