Learn R Programming

MRPC (version 3.1.0)

SimulateDataNP: 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

See Also

SimulateData for simulated data generating function.

Examples

Run this code
# NOT RUN {
DataNP <- SimulateDataNP(N = 10^3, 
                       b0.1 = 0, 
                       sd.1 = 1)
# }

Run the code above in your browser using DataLab