castAsInteger {NGCHM}R 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


[Package NGCHM version 1.0.3 Index]