Learn R Programming

starnet (version 0.0.7)

.simulate: Simulation

Description

Functions for simulating data

Usage

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

Value

List of vector y and matrix X.

Arguments

n

sample size: positive integer

p

dimensionality: positive integer

mode

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

family

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

Examples

Run this code
NA

Run the code above in your browser using DataLab