check_terms_in_data: Checks if all terms are in the data

Description Usage Arguments Author(s)

View source: R/get_segment_table.R

Description

Checks if all terms are in the data

Usage

1
check_terms_in_data(form, data, i, n_terms = NULL)

Arguments

form

Formula or character (tilde will be prefixed if it isn't already)

data

A data.frame or tibble

i

The segment number (integer)

n_terms

Int >= 1. Number of expected terms. Will raise error if it doesn't match.

Author(s)

Jonas Kristoffer Lindeløv jonas@lindeloev.dk


mcp documentation built on Aug. 3, 2020, 5:07 p.m.