castListAsInteger: Helper function to cast list as integer

View source: R/functions.R

castListAsIntegerR Documentation

Helper function to cast list as integer

Description

If variable value is far from integer, print error message and stop.

Usage

castListAsInteger(listToCast, errorMsg = NULL)

Arguments

listToCast

List to cast as integer

errorMsg

Error message if cast fails

Value

list with members cast to integers


MD-Anderson-Bioinformatics/NGCHM-R documentation built on June 9, 2025, 8:04 p.m.