Learn R Programming

BiDAG (version 2.0.0)

MCMCres: MCMCres class structure

Description

The structure of an object of S3 class MCMCres.

Arguments

Details

An object of class MCMCres is a list containing at least the following components:

  • DAG: adjacency matrix of a maximum scoring DAG found/sampled in MCMC.

  • CPDAG: adjacency matrix representing equivalence class of a maximum scoring DAG found/sampled in MCMC.

  • score: score of a maximum scoring DAG found/sampled in MCMC.

  • maxorder: order of a maximum scoring DAG found/sampled in MCMC.

  • info: a list containing information about parameters and results of MCMC:

  • trace: a vector containing log-scores of sampled DAGs

    Optional components:

    • traceadd: list which consists of three or four elements (depending on MCMC scheme used for sampling):

      • incidence: list containg adjacency matrices of sampled DAGs

      • order: list of orders from which the DAGs were sampled

      • partition: list of partition from which the DAGs were sampled (present when partitionMCMC was used)

      • orderscores: order log-scores (present when orderMCMC was used)

      • partitionscores: partition log-scores (present when partitionMCMC was used)

    • scoretable: object of class MCMCscoretab