Author Topic: How do I extract a HUGIN case file for a particular case from a HUGIN data file?  (Read 13677 times)

Offline Anders L Madsen

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 2295
    • View Profile
If you would like to construct a HUGIN case file for a particular case in a HUGIN data file, then you can use the <dat2hcs> command. Assume you have a HUGIN data file named datafile.csv with 10000 cases and would like to construct a HUGIN case file named case_10.hcs for the case with index 10 in datafile.csv.

The <dat2hcs> takes as argument a model that is constructed from datafile.csv. The command is

dat2hcs model.net datafile.csv 10

where model.net contains the model.
HUGIN EXPERT A/S