search for: specificiteit

Displaying 1 result from an estimated 1 matches for "specificiteit".

2007 Jan 10
1
roc and lattice
...variable 'group' I get the error message below, when I plot the curve for all data (i.e., y ~ pred.prob), I get the plot I want. Can someone point out why conditioning gives that message? Thanks, Ruud > plot.a <- xyplot(y ~ pred.prob|group, data=x.df, + xlim=c(0,1),xlab="1-specificiteit", + ylab="sensitiviteit", + panel=function(x,y,subscripts,...){ + DD <- table(-x,y) + sens <- cumsum(DD[,2])/sum(DD[,2]) + mspec <- cumsum(DD[,1])/sum(DD[,1]) + panel.xyplot(mspec,sens,type="l",...) + panel.abline(0,1) + }) > print(plot.a) Error in...