Learn R Programming

xnet (version 0.1.11)

permutations: Getters for permtest objects

Description

The functions described here are convenience functions to get information out of a permtest object.

Usage

permutations(x)

# S4 method for permtest [(x, i)

Arguments

x

a permtest object

i

either a numeric vector, a logical vector or a character vector with the elements that need extraction.

Value

the requested values

See Also

loss to extract the original loss value.

Examples

Run this code
# 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