
Package index
-
empty_dag() - Initialize an empty
DAGobject
-
network()network_td() - Create a network object for a
DAG
-
net() - Specify Network Dependencies in a
DAG
-
add_node()`+`(<DAG>) - Add a
DAG.nodeor aDAG.networkobject to aDAGobject
-
plot(<DAG>) - Plot a
DAGobject
-
as.igraph(<DAG>) - Transform a
DAGobject into anigraphobject
-
as.dagitty(<DAG>) - Transform a
DAGobject into adagittyobject
-
do() - Pearls do-operator for
DAGobjects
-
dag2matrix() - Obtain a Adjacency Matrix from a
DAGobject
-
matrix2dag() - Obtain a
DAGobject from a Adjacency Matrix and a List of Node Types
-
dag_from_data() - Fills a partially specified
DAGobject with parameters estimated from reference data
-
sim_from_dag() - Simulate Data from a
DAG
-
sim_discrete_time() - Simulate Data from a
DAGwith Time-Dependent Variables
-
sim_n_datasets() - Simulate multiple datasets from a single
DAGobject
-
sim2data()as.data.table(<simDT>)as.data.frame(<simDT>) - Transform
sim_discrete_timeoutput into the start-stop, long- or wide-format
-
plot(<simDT>) - Plot a Flowchart for a Discrete-Time Simulation
-
rbernoulli() - Generate Random Draws from a Bernoulli Distribution
-
rcategorical() - Generate Random Draws from a Discrete Set of Labels with Associated Probabilities
-
rconstant() - Use a single constant value for a root node
-
node_gaussian() - Generate Data from a (Mixed) Linear Regression Model
-
node_binomial() - Generate Data from a (Mixed) Binomial Regression Model
-
node_conditional_prob() - Generate Data Using Conditional Probabilities
-
node_conditional_distr() - Generate Data by Sampling from Different Distributions based on Strata
-
node_multinomial() - Generate Data from a Multinomial Regression Model
-
node_poisson() - Generate Data from a (Mixed) Poisson Regression Model
-
node_negative_binomial() - Generate Data from a Negative Binomial Regression Model
-
node_zeroinfl() - Generate Data from a Zero-Inflated Count Model
-
node_identity() - Generate Data based on an expression
-
node_mixture() - Generate Data from a Mixture of Node Definitions
-
node_cox() - Generate Data from a Cox-Regression Model
-
node_aftreg()node_ahreg()node_ehreg()node_poreg()node_ypreg() - Generate Data from Parametric Survival Models
-
node_time_to_event() - Generate Data from repeated Bernoulli Trials in Discrete-Time Simulation
-
node_competing_events() - Generate Data with Multiple Mutually Exclusive Events in Discrete-Time Simulation
-
long2start_stop() - Transform a
data.tablein the long-format to adata.tablein the start-stop format
-
simDAG-package - Simulate Data from a DAG and Associated Node Information