censor_dataset: Turns a fully observed network into a partially observed...

View source: R/simulate.R

censor_datasetR Documentation

Turns a fully observed network into a partially observed network.

Description

This turns a fully observed network matrix into a partially observed one where TCEs of missing nodes are integrated into pseudo-DCEs for the observed nodes.

Usage

censor_dataset(dataset, p)

Arguments

dataset

List generated by 'generate_dataset'.

p

Float 0 to 1, proportion of nodes to hide.


brielin/inspre documentation built on Dec. 3, 2023, 4:55 a.m.