rmvDAG_obs: A random graph data generation function

Description Usage Arguments Value Examples

View source: R/rmvDAG.R

Description

This function generates random observations from a DAG graph

Usage

1
rmvDAG_obs(n, amat, Sig = NULL)

Arguments

n

The sample size

amat

The adjacency matrix of a DAG

Sig

The error variance of each node

Value

Gaussian data with the given sample size

Examples

1
2
amat=matrix(c(0,1,0,0),2,2)
rmvDAG_obs(50,amat)

intdag documentation built on Oct. 9, 2019, 9:05 a.m.

Related to rmvDAG_obs in intdag...