SimulateDataNP function

Simulate data for a node with no parent

Simulate data for a node with no parent

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.

Returns

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)
  • Maintainer: Audrey Fu
  • License: GPL (>= 2)
  • Last published: 2022-04-11

Useful links