check_args: Check Additional Arguments

Description Usage Arguments Value

View source: R/check_arguments.R

Description

Checks additional arguments that user needs to provide for different prediction models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
check_args(
  pred_model,
  ci_appr,
  use_cov_transform,
  transformers,
  gps_model,
  trim_quantiles,
  optimized_compile,
  ...
)

Arguments

pred_model

The prediction model.

ci_appr

The causal inference approach.

use_cov_transform

A logical value (TRUE/FALSE) to use covariate balance transforming.

transformers

A list of transformers.

...

Additional named arguments passed.

Value

TRUE if requirements are met. Raises error otherwise.


CausalGPS documentation built on Feb. 7, 2022, 5:12 p.m.