[R] datadist options error, DESIGN library

Frank E Harrell Jr f.harrell at vanderbilt.edu
Wed Oct 31 17:16:11 CET 2007


Giulia Barbati wrote:
> Hello,
> using the Design library, and the following command (from the Harrell's book, example at Ch.20):
> 
> dd <- datadist(rx, age, wt, pf, pf.coded, heart, map, hg, sz, sg, ap, bm)
> options(datadist=='dd')

That command doesn't appear in the book.  The == should be a single =

Frank

> 
> I get the following error:
> 
> Error in datadist == "dd" : comparison (1) possible only for atomic data or list
> 
> What does it means?
> 
> thank you,
> 
> giulia
> 
> 
> 
> __________________________________________________
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University



More information about the R-help mailing list