Skip to contents

summary method for class "model_query".

Usage

# S3 method for class 'model_query'
summary(object, ...)

# S3 method for class 'summary.model_query'
print(x, ...)

Arguments

object

An object of model_query class produced using query_model

...

Further arguments passed to or from other methods.

x

an object of model_query class produced using query_model

Value

Returns the object of class summary.model_query

Examples

# \donttest{
model <-
  make_model("X -> Y") |>
  query_model("Y[X=1] > Y[X=1]")  |>
  summary()
#> Call: 
#> query_model(model = make_model("X -> Y"), queries = "Y[X=1] > Y[X=1]") 
#> 
#> Queries evaluated on: 
#> Tue Dec 17 17:50:35 2024
#> 
#> Causal queries generated by query_model (all at population level)
#> 
#> |label           |using      | mean|
#> |:---------------|:----------|----:|
#> |Y[X=1] > Y[X=1] |parameters |    0|
#> 
# }