num2int: Convert numeric to integer

Description Usage Arguments Details Examples

Description

Converts numeric values to positive integers with a warning.

Usage

1

Arguments

x

an numeric vector

Details

num2int uses as.integer functionality.

Examples

1

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
[1] TRUE

dpcR documentation built on May 2, 2019, 7:04 a.m.