.simulate {starnet}R Documentation

Simulation

Description

Functions for simulating data

Usage

.simulate.block(n, p, mode, family = "gaussian")

Arguments

n

sample size: positive integer

p

dimensionality: positive integer

mode

character "sparse", "dense" or "mixed"

family

character "gaussian", "binomial" or "poisson"

Value

List of vector y and matrix X.

Examples

NA


[Package starnet version 0.0.6 Index]