roc - Calculate many AUCs in R -


i new r. using rocr package in r calculate auc, can 1 predictor fine. looking perform many auc calculations 100 different variables.

what have done far following:

varlist <- names(mydata)[2:101] formlist <- lapply(varlist, function(x) paste0("prediction(",x,"mydata$v1)) 

however formulas in text format, , as.formula giving me error. appreciated! in advance!

the function inside lapply looks outputting statement prediction(varmydata$v1). guessing want run command. if so, want

lapply(varlist,function(x) prediction(mydata[x])) 

but hard tell without reproducible situation. also, looks code has missing quote.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -