Skip to content

help with nomogram function

2 messages · Ross Darnell, Frank E Harrell Jr

#
Frank Harrell wrote
I tried using the data argument in datadist
[1] "subject" "Age"     "failed"  "task"
Error in datadist(Age, task, data = my.data) : 
	Object "Age" not found


Strange.

Thanks
Ross Darnell


--
#
On Thu, 06 Nov 2003 17:41:45 +1000
Ross Darnell <r.darnell at uq.edu.au> wrote:

            
Please read the documentation more carefully.  Either do ddist <-
datadist(my.data) (if the data frame contains the most up to date versions
of the variables) or attach(my.data);ddist <- datadist(Age, task).   -FH
---
Frank E Harrell Jr    Professor and Chair            School of Medicine
                      Department of Biostatistics    Vanderbilt University