convert_array_to_matrix: Convert 3D array into matrix

Description Usage Arguments Value Examples

View source: R/convert_array_to_matrix.R

Description

Convert 3D array into matrix

Usage

1

Arguments

x

A three-dimensional array (p x k x n) of landmark coordinates

Value

Returns two-dimensional matrix with n rows and p x k columns. If input has labels, these will be preserved.

Examples

1
2
data("LondonSet_aligned")
data_matrix <- convert_array_to_matrix(LondonSet_aligned)

iholzleitner/facefuns documentation built on March 19, 2021, 2:43 p.m.