dim,tskrr-method {xnet} | R Documentation |
These functions allow you to extract the dimensions of a tskrr object. These dimensions are essentially the dimensions of the label matrix y.
## S4 method for signature 'tskrr'
dim(x)
x |
a |
a vector with two values indicating the number of rows and the number of columns.
data(drugtarget)
mod <- tskrr(drugTargetInteraction, targetSim, drugSim)
dim(mod)
nrow(mod)
ncol(mod)