Skip to content
Prev 243966 / 398506 Next

HOW to use str() after the survivalROC (or another library in R) to get optimal cut-off values

Hi Mario,
On Sun, Dec 5, 2010 at 10:11 AM, <petretta at unina.it> wrote:
I'm not exactly sure how to parse that sentence.  Do you mean you are
trying to follow the reference, but only get a partial set of cut-off
values?  Or do you mean that according to the reference, it only gives
a partial set of ordered cut-off values?
this prints the str()ucture of the ROC.1 object to the console so you
can see how the object is stored in R
This is the output you should have gotten from str(ROC.1)
Is this what you are looking for?

ROC.1[["cut.values"]]

or are you have some other problem?
--
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/