coerce_dimension: Coerce data to an array with no trailing dimension of 1 or to...

View source: R/deepMetrics.r

coerce_dimensionR Documentation

Coerce data to an array with no trailing dimension of 1 or to a matrix

Description

Coerce data to an array with no trailing dimension of 1 or to a matrix

Usage

coerce_dimension(x)

Arguments

x

A data structure like vector, matrix, array, data frame or list.

Value

The coerced data structure, either an array with no trailing dimension of 1 or a matrix.


stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.