analytic_linear_gaussian {R6causal}R Documentation

Simulate data from a conditional linear Gaussian SCM

Description

Simulate data from a conditional linear Gaussian SCM

Usage

analytic_linear_gaussian(scm, situation, n)

Arguments

scm

A linear Gaussian SCM

situation

A list with the following element:

  • condition : either a string that gives an SQL query ( e.g. "select x,y,z from DATA where" ) or a data.table consisting of the valid rows ( e.g. data.table::data.table( x = 0, y = 0))

n

The number of rows in the data to be simulated


[Package R6causal version 0.8.3 Index]