2008/5/29 Frank E Harrell Jr <[EMAIL PROTECTED]>: > Patrizio Frederic wrote: >> >> dear Harrell, >> thank you for quick reply and suggestions. I still have the problem: >> >> library(Design) >> x = rnorm(100) >> y = runif(100)<(exp(x)/(1+exp(x))) >> y = 0*y+1*y >> d = datadist(x,y) >> options(datadist="d") >> fit = lrm(y~x) >> # works fine, but >> plot(fit) #produce the error message > > I cannot reproduce the error on Linux R 2.7.0 using the same version of the > packages you are using. > > Frank >
just for the records, I solved the problem: in Windows R 2.7.0 one has to set: d = datadist(x,y) .Options$datadist="d" done that functions summary.Design, and plot.Design work fine. PF ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.