cg_as_numeric {cgraph}R Documentation

Coerce to a Numeric Vector

Description

Coerce x to a one-dimensional numeric vector.

Usage

cg_as_numeric(x, name = NULL)

Arguments

x

either a cg_node object or a numeric matrix or array.

name

character scalar, name of the operation (optional).

Value

cg_operator object, node of the operation.

Note

This function is identical to cg_as_double.

Author(s)

Ron Triepels

See Also

as.numeric


[Package cgraph version 4.0.3 Index]