This was working a few weeks ago, but perhaps the package has been updated 
since then.

model.1 <- lrm(response ~ p_value, data=c_abl_oncogene_1_RTK)

When I run the following command . . . .
prediction.1 <- predict(model.1, type=c("fitted"))
I get the following error message. . . .
Error in predictDesign(object, ..., type = "lp", se.fit = FALSE) :
  could not find function "Varcov"

It seems like a required function of "predict" may be missing in the Design 
package (although I doubt Professor Harrell would have overlooked this). 
Perhaps its my own stupidity with something. Any ideas what could be causing 
this?  I'm sorry I didn't post a reproducable example, but it a lot of code.

Any help would be appreciated.

Best regards,

Patrick


R version 2.9.2 (2009-08-24)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
States.1252;LC_MONETARY=English_United 
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
 [1] grid      datasets  tcltk     grDevices splines   graphics  utils     
stats     methods   base

other attached packages:
 [1] Design_2.2-0    ROCR_1.0-2      gplots_2.7.1    caTools_1.9     
bitops_1.0-4.1  gdata_2.6.1     gtools_2.6.1    svSocket_0.9-43 svMisc_0.9.48   
TinnR_1.0.3     R2HTML_1.59-1
[12] Hmisc_3.7-0     MASS_7.2-48     survival_2.35-7

loaded via a namespace (and not attached):
[1] cluster_1.12.0  lattice_0.17-25 tools_2.9.2

This email message, including any attachments, is for th...{{dropped:9}}

______________________________________________
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.

Reply via email to