powered by
The functions described here are convenience functions to get information out of a permtest object.
permtest
permutations(x)# S4 method for permtest [(x, i)
# S4 method for permtest [(x, i)
a permtest object
either a numeric vector, a logical vector or a character vector with the elements that need extraction.
the requested values
loss to extract the original loss value.
loss
# NOT RUN { data(drugtarget) mod <- tskrr(drugTargetInteraction, targetSim, drugSim) ptest <- permtest(mod, fun = loss_auc) loss(ptest) ptest[c(2,3)] permutations(ptest) # }
Run the code above in your browser using DataLab