coerce_args: Coerce arguments to right object class

Description Usage Arguments

Description

coerce_args is used to ensure that the data and formula arguments provided to twidlr model functions are coerced to a data frame and formula before further processing. This makes it possible for remaining function code to assume these object classes.

Usage

1

Arguments

data

Object that can be coerced to a data frame

formula

Object that can be coerced to a formula


drsimonj/twidlr documentation built on May 15, 2019, 2:53 p.m.