generate_star_model: Generate the star model used in their book and the Notes

View source: R/test_util.R

generate_star_modelR Documentation

Generate the star model used in their book and the Notes

Description

Generate the star model used in their book and the Notes

Usage

generate_star_model(
  num.samples = NULL,
  Temp = 1,
  seed = NULL,
  plot.sampleQ = F,
  plot.graphQ = F
)

Arguments

num.samples

Optional number of samples specification

Temp

Adjustment parameter to bulk adjust the potentials

plot.sampleQ

Optional plot marginal node samples

Details

The function will generate the star model used in Notes. Added a "Temp" parameter for user to adjust the potentials in bulk. Also added sampling from the model.

The function will generate the original Schmidt small chain model used in Notes along with a random sample

Value

A little data set


npetraco/CRFutil documentation built on Nov. 23, 2023, 11:30 a.m.