generate_triangle_model: Generate the original triangle model used in Notes

View source: R/test_util.R

generate_triangle_modelR Documentation

Generate the original triangle model used in Notes

Description

Generate the original triangle model used in Notes

Usage

generate_triangle_model(
  num.samples = NULL,
  Temp = 1,
  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 original triangle 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 triangle 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.