as_trans_factory: Coerce and validate transforms and functions that produce...

Description Usage Arguments Value Examples

View source: R/age_depth_model.R

Description

Coerce and validate transforms and functions that produce them

Usage

1
2
3
4
5
as_trans_factory(factory, env = parent.frame())

validate_trans_factory(factory, x = 1:3, y = 1:3)

validate_trans(trans, x = 1:3, y = 1:3)

Arguments

factory

A function that produces a transform object

env

The calling environment, for transform factories that are calls or rlang lambda-style functions.

x

The test x data

y

The test y data

trans

A transform object

Value

The input, invisibly.

Examples

1

tidypaleo documentation built on April 7, 2021, 5:10 p.m.