R/random.R

Defines functions construct_random.igraph construct_random

Documented in construct_random

#' Reconstruct a network from a random matrix, not taking time series into account.
#' @export
# inputThreshold <- threshold(inputArray, min = -Inf, max = Inf)
#' @param inputArray inputArray
#' @param inputThreshold inputThreshold
#' @param ... ...
#'
#' @export
construct_random <- function(inputArray, inputThreshold, ...) {
  UseMethod("construct_random")
}

#' @export
construct_random.igraph <- function(inputArray, inputThreshold, ...) {
  # rowsinMatrix <- nrow(inputArray)
  # colsinMatrix <- ncol(inputArray)
  # randomMatrices <-randn(rowsinMatrix, rowsinMatrix)
  # A<- threshold(randomMatrices,inputThreshold,...)
}

# G<-graph_from_literal(A, simplify=FALSE)#allow for nodes
travisbyrum/constructnet documentation built on March 3, 2021, 12:18 p.m.