set_types: Set class types

View source: R/helpers.R

set_typesR Documentation

Set class types

Description

This function takes physiologic variables in a data frame and sets them to the appropriate class types.

Usage

set_types(df, types)

Arguments

df

A data frame

types

A named list with column name and setter function (ex: list(hr = as.hr))

Value

A data frame


bgulbis/icuriskr documentation built on June 18, 2022, 1:33 a.m.