simdat: Simulate example data

Description Usage Arguments Value

View source: R/simdat.R

Description

Simulate example data

Usage

1
simdat(sample.size = 300, n_var = 5, beta = 0.3)

Arguments

sample.size

integer, number of observations

n_var

integer, number of variables

beta

numeric, amount of correlation

The dependencies will be created in the fashion: 1 -> 2 -> 3 -> 4 -> 5

Value

data.frame


USCbiostats/causnet documentation built on July 15, 2020, 10:41 a.m.