Skip to content

buildModel

buildModel(rows, observedNames): any

Defined in: model.js:26

Build the model specification from parsed rows.

Parameters

rows

any[]

Output of parseModel

observedNames

string[]

Observed variable names present in the data

Returns

any

{variables, latents, observed, params, aIndex, sIndex, t, p}