.procmod_coerce_value {ProcMod}R Documentation

Internal function coercing the data to a matrix.

Description

Transforme the x value into a numeric matrix of the correct size or into a dist object.

Usage

.procmod_coerce_value(x, nrows = 0, contrasts = NULL)

Arguments

x

The data to coerce

nrows

an interger value specifying the number of row of the returned matrix

contrasts

see the contrasts_arg argument of the procmod_frame constructor.

Value

a new numeric matrix with correct size.

Note

Internal function do not use.

Author(s)

Eric Coissac <eric.coissac@metabarcoding.org>

Christelle Gonindard-Melodelima <christelle.gonindard@metabarcoding.org>


[Package ProcMod version 1.0.8 Index]