checkMultipleSimulationVLtimeseries: checkMultipleSimulationVLtimeseries

Description Usage Arguments Value Examples

View source: R/MultipleTSsimulation.R

Description

checkMultipleSimulationVLtimeseries is a support function that can compare two adjacency matrices: groundtruth and inferred matrices. It re

Usage

1

Arguments

trueAdjMat

a groundtruth matrix.

adjMat

an inferred matrix.

Value

This function returns a list of precision prec, recall rec, and F1 score F1 of inferred vs. groundtruth matrices.

Examples

1
2
3
4
5
6
7
8
## Generate simulation data
#G<-matrix(FALSE,10,10) # groundtruth
#G[1,c(4,7,8,10)]<-TRUE
#G[2,c(5,7,9,10)]<-TRUE
#G[3,c(6,8,9,10)]<-TRUE
#TS <- MultipleSimulationVLtimeseries()
#out<-multipleVLGrangerFunc(TS)
#checkMultipleSimulationVLtimeseries(trueAdjMat=G,adjMat=out$adjMat)

VLTimeCausality documentation built on Jan. 24, 2022, 5:07 p.m.