Learn R Programming

NetworkToolbox (version 1.1.1)

splitsampNet: Network Construction for splitsamp

Description

Applies a network construction method to samples generated from the splitsamp function

Usage

splitsampNet(object, method = c("MaST", "PMFG", "TMFG", "LoGo", "threshold"),
  bootmat = FALSE, seeds = NULL, pB = TRUE, ...)

Arguments

object

Object output from splitsamp function

method

A network filtering method. Defaults to "TMFG"

bootmat

Should bootgen function be used? Defaults to FALSE. Set to TRUE to constuction bootgen networks

seeds

Seeds to use for bootmat. Defaults to NULL. Input seeds from previous bootgen run

pB

Should progress bar be displayed? Defaults to TRUE. Set to FALSE for no progress bar

...

Additional arguments to be passed to the network construction methods

Value

Returns a list of networks for training (train) and testing (test) samples

Examples

Run this code
# NOT RUN {
samples <- splitsamp(neoOpen)

nets <- splitsampNet(samples, method="TMFG")
# }

Run the code above in your browser using DataLab