Learn R Programming

starnet (version 0.0.3)

.simulate: 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

Run this code
# NOT RUN {
NA

# }

Run the code above in your browser using DataLab