Displaying 2 results from an estimated 2 matches for "ddist2".
Did you mean:
ddist
2007 Feb 15
1
bootcov and cph error
Hi all,
I am trying to get bootstrap resampled estimates of covariates in a Cox
model using cph (Design library).
Using the following I get the error:
> ddist2.abr <- datadist(data2.abr)
> options(datadist='ddist2.abr')
> cph1.abr <- cph(Surv(strt3.abr,loc3.abr)~cov.a.abr+cov.b.abr,
data=data2.abr, x=T, y=T)
> boot.cph1 <- bootcov(cph1.abr, B=100, coef.reps=TRUE, pr=T)
1 Error in oosl(f, matxv(X, cof), Y) : not implemented for...
2012 Apr 09
3
how to add 3d-points to bplot {rms} figure?
Hello!
I have created a bplot-figure using this code:
*file <- "2dcali_red.ttt"
ux<-as.matrix(read.table(file, dec = ","))
mode(ux)<-'numeric'
vel<-ux[,1]
ang<-ux[,2]
x<-ux[,3]
y<-ux[,4]
dat<- data.frame(ang=ang, x=x,y=y)
require(rms)
ddist2 <- datadist(dat)
options(datadist="ddist2")
fitn <- lrm(ang ~ rcs(x,4) + rcs(y,4), data=dat)
predi <- Predict(fitn, x, y)
bplot(predi,lfun=wireframe, screen = list(z = -40, x = -80), drape=TRUE)*
The file 2dcali_red.ttt consists of 4 columns can be found here :
http://www.col...