isRWRM_Results {RandomWalkRestartMH} | R Documentation

## Is this R object a RWR on Multiplex object (Results of the RWR-M)?

### Description

A RWR on Multiplex object is an R object generated as the result of calling the function `Random.Walk.Restart.Multiplex` (Results of the RWR-M)

### Usage

    isRWRM_Results(x)

### Arguments

`x` | An R object

### Details

`isRWRM_Results(x)` checks whether an R object is RWRM_Results

### Value

A logical constant, `TRUE` if argument `x` is a RWRM_Results object.

### Author(s)

Alberto Valdeolivas Urbelz alvaldeolivas@gmail.com

### See Also

`Random.Walk.Restart.Multiplex`, `isRWRMH_Results`

### Examples

    m1 <- igraph::graph(c(1,2,1,3,2,3), directed = FALSE)
    m2 <- igraph::graph(c(1,3,2,3,3,4,1,4), directed = FALSE)
    multiObject <- create.multiplex(m1,m2)
    AdjMatrix <- compute.adjacency.matrix(multiObject)
    AdjMatrixNorm <- normalize.multiplex.adjacency(AdjMatrix)
    Seed <- c(1)
    RWR_MultiResults <-
        Random.Walk.Restart.Multiplex(AdjMatrixNorm, multiObject,Seed)
    isRWRM_Results(RWR_MultiResults)
    isRWRM_Results(m1)

[Package RandomWalkRestartMH version 1.0.0 Index]