validate_extend: Services for extending 'validate'

.PKGOPTR Documentation

Services for extending 'validate'

Description

Functions exported silently to allow for cross-package inheritance of the expressionset object. These functions are never needed in scripts or statistical production code.

Usage

.PKGOPT(..., .__defaults = FALSE, .__reset = FALSE)

.ini_expressionset_cli(obj, ..., .prefix = "R")

.ini_expressionset_df(obj, dat, .prefix = "R")

.ini_expressionset_yml(obj, file, .prefix = "R")

.show_expressionset(obj)

.get_exprs(
  x,
  ...,
  expand_assignments = FALSE,
  expand_groups = TRUE,
  vectorize = TRUE,
  replace_dollar = TRUE,
  replace_in = TRUE,
  lin_eq_eps = x$options("lin.eq.eps"),
  lin_ineq_eps = x$options("lin.ineq.eps"),
  dat = NULL
)

.blocks_expressionset(x)

Arguments

...

Comma-separated list of expressions

.__defaults

toggle default options

.__reset

togle reset options

obj

an expressionset object

.prefix

Prefix to use in default names.

dat

Optionally, a data.frame containing the data to which the expressions will be applied. When provided, the only equalities A==B that will be translated to abs(A-B)<lin.eq.eps are those where all occurring variables are numeric in dat.

file

a filename

x

An expressionset object

expand_assignments

Substitute assignments?

expand_groups

Expand groups?

vectorize

Vectorize if-statements?

replace_dollar

Replace dollar with bracket index?

Details

This function is aimed at developers importing the package and not at direct users of validate.


validate documentation built on July 4, 2024, 9:07 a.m.