to_predx: Helper function for creating lists of 'predx' objects (e.g. a...

Description Usage Arguments Value

View source: R/to_predx.R

Description

This function converts a data.frame or list of data frames (with appropriate columns and/or attributes as required for each predx class) and a vector of predx class names to a list of predx objects with (hopefully helpful) errors should any conversions fail.

Usage

1

Arguments

x

A list of data.frames.

class

A character vector of predx class names

Value

A list of predx objects with error messages for failed conversions.


cdcepi/predx documentation built on Dec. 29, 2019, 4:58 p.m.