check_trans_df: check_trans_df

View source: R/model_spec.R

check_trans_dfR Documentation

check_trans_df

Description

Check trans_df based on default_trans_df

Usage

check_trans_df(trans_df)

Arguments

trans_df

data.frame defining the non-linear transformations to apply

Details

Check that the trans_df data.frame contains all the necessary columns. If not, create them and return the amended trans_df.

Value

data.frmae of trans_df

Examples

default_trans_df() %>% check_trans_df()

linea documentation built on Sept. 15, 2022, 9:06 a.m.