powered by
Simulate data for a node with no parent
SimulateDataNP(N, b0.1, sd.1)
Number of observations
Intercept of the corresponding simulated node.
Standard deviation for corresponding data generated node.
Vector
SimulateData for simulated data generating function.
# NOT RUN { DataNP <- SimulateDataNP(N = 10^3, b0.1 = 0, sd.1 = 1) # }
Run the code above in your browser using DataLab