castAsInteger: Helper function to cast variables as integers.

View source: R/functions.R

castAsIntegerR Documentation

Helper function to cast variables as integers.

Description

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

Usage

castAsInteger(variableToCast)

Arguments

variableToCast

Variable to cast as integer

Value

integer value of variableToCast


MD-Anderson-Bioinformatics/NGCHM-R documentation built on April 1, 2024, 12:34 p.m.