dimList: Dimension of a list that composed by some matrix.

Description Usage Arguments Value Examples

View source: R/dimList.R

Description

This function returns to the dimension of a list that composed by some matrix.

Usage

1
dimList(A, eps)

Arguments

A

A is a list, composed by several matrix.

eps

eps is the threshold.

Value

Returned value 'count' is the defined dimension of list A.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (A, eps)
{
    count <- 0
    for (i in c(1:length(A))) {
        count <- count + dimMatrix(A[[i]], eps)
    }
    return(count)
  }

xzheng-ac/scPADGRN documentation built on July 26, 2020, 12:41 a.m.