pcoa.Rd 1.09 KB
 Eric Coissac committed Jul 06, 2018 1 2 3 4 5 6 7 8 % Generated by roxygen2: do not edit by hand % Please edit documentation in R/multivariate.R \name{pcoa} \alias{pcoa} \title{Project a distance matrix in a euclidean space (PCOA).} \usage{ pcoa(distances) }  Eric Coissac committed Sep 12, 2019 9 10 11 12 13 14 15 16 17 18 \arguments{ \item{distances}{a \code{\link[stats]{dist}} object or a \code{\link[base]{matrix}} object representing a distance matrix.} } \value{ a numeric matrix with at most \code{n-1} dimensions, with \code{n} the number pf observations. This matrix defines the coordinates of each point in the orthogonal space. }  Eric Coissac committed Jul 06, 2018 19 20 21 22 23 24 25 26 27 \description{ Project a set of points defined by a distance matrix in an eucleadean space using the Principal Coordinates Analysis method. This function is mainly a simplified interface on the \code{\link[stats]{cmdscale}} function using as much as possible dimensions for the projection. The aims of this PCoA being only to project point in an orthogonal space therefore without any correlation between axis. Because a metric method is used the used distance must be euclidean  Eric Coissac committed Oct 01, 2019 28 (cf \code{\link[ProcMod]{is_euclid}}).  Eric Coissac committed Jul 06, 2018 29 30 31 32 33 34 } \author{ Eric Coissac Christelle Gonindard-Melodelima }