internal.procmod_coerce_value.Rd 874 Bytes
Newer Older
Eric Coissac's avatar
Eric Coissac committed
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/procmod_frame.R
Eric Coissac's avatar
Eric Coissac committed
3 4 5 6 7 8 9 10 11 12 13
\name{.procmod_coerce_value}
\alias{.procmod_coerce_value}
\title{Internal function coercing the data to a matrix.}
\usage{
.procmod_coerce_value(x, nrows = 0, contrasts = NULL)
}
\arguments{
\item{x}{The data to coerce}

\item{nrows}{an interger value specifying the number of row
of the returned matrix}
14 15 16 17

\item{contrasts}{see the \code{contrasts.arg} argument
of the \code{\link[ProcMod]{procmod.frame}}
constructor.}
Eric Coissac's avatar
Eric Coissac committed
18 19 20 21 22 23 24 25
}
\value{
a new numeric matrix with correct size.
}
\description{
Transforme the \code{x} value into a \code{numeric matrix} of
             the correct size or into a \code{dist} object.
}
26 27 28
\note{
Internal function do not use.
}
Eric Coissac's avatar
Eric Coissac committed
29 30 31 32 33
\author{
Eric Coissac <eric.coissac@metabarcoding.org>

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