Re: [R] Missing data problem and ROC curves

2013-07-01 Thread David Winsemius
On Jul 1, 2013, at 10:57 AM, tfj24 wrote: > Hello all, > > Trying to get this piece of code to work on my data set. It is from > http://www.itc.nl/personal/rossiter. > > logit.roc <- function(model, steps=100) > { > field.name <- attr(attr(terms(formula(model)), "fac

[R] Missing data problem and ROC curves

2013-07-01 Thread tfj24
Hello all, Trying to get this piece of code to work on my data set. It is from http://www.itc.nl/personal/rossiter. logit.roc <- function(model, steps=100) { field.name <- attr(attr(terms(formula(model)), "factors"), "dimnames")[[1]][1] eval(parse(t