Learn R Programming

cgraph (version 6.0.1)

cg_as_numeric: Coerce to a Numerical Vector

Description

Coerce x to a one-dimensional numerical vector.

Usage

cg_as_numeric(x, name = NULL)

Arguments

x

either a cg_node object or a numerical matrix or array.

name

character scalar, name of the operation (optional).

Value

cg_operator object.

See Also

as.numeric