SimulateDataNP: Simulate data for a node with no parent

View source: R/SimulateDataNP.R

SimulateDataNPR Documentation

Simulate data for a node with no parent

Description

Simulate data for a node with no parent

Usage

SimulateDataNP(N, b0.1, sd.1)

Arguments

N

Number of observations

b0.1

Intercept of the corresponding simulated node.

sd.1

Standard deviation for corresponding data generated node.

Value

Vector

Author(s)

Md Bahadur Badsha (mbbadshar@gmail.com)

See Also

SimulateData for simulated data generating function.

Examples

DataNP <- SimulateDataNP(N = 10^3, 
                       b0.1 = 0, 
                       sd.1 = 1)

MRPC documentation built on April 11, 2022, 5:10 p.m.