dim,tskrr-method {xnet}R Documentation

Get the dimensions of a tskrr object

Description

These functions allow you to extract the dimensions of a tskrr object. These dimensions are essentially the dimensions of the label matrix y.

Usage

## S4 method for signature 'tskrr'
dim(x)

Arguments

x

a tskrr object.

Value

a vector with two values indicating the number of rows and the number of columns.

Examples

data(drugtarget)
mod <- tskrr(drugTargetInteraction, targetSim, drugSim)
dim(mod)
nrow(mod)
ncol(mod)


[Package xnet version 0.1.11 Index]