[R] Error message in Design library

David Winsemius dwinsemius at comcast.net
Thu Sep 17 15:20:41 CEST 2009


On Sep 17, 2009, at 8:58 AM, Richardson, Patrick wrote:

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

No, Prof Harrell did not overlook this. Instead he rewrote the whole  
package which is now "rms". The missing Varcov function was made  
available in an earlier posting to r-help just a couple of days ago.

https://stat.ethz.ch/pipermail/r-help/2009-September/211306.html

-- 
David


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

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list