project_point_onto_graph: Project data points on the precipal graph

Description Usage Arguments Value

View source: R/reporting.R

Description

Project data points on the precipal graph

Usage

1
project_point_onto_graph(X, NodePositions, Edges, Partition = NULL)

Arguments

X

numerical matrix containg points on the rows and dimensions on the columns

NodePositions

numerical matrix containg the positions of the nodes on the rows (must have the same dimensionality of X)

Edges

a 2-dimensional matrix containing edges as pairs of integers. The integers much match the rows of NodePositions

Partition

a Partition vector associating points to at most one of the nodes of the graph. It can be NULL, in which case it will be computed by the algorithm

Value

A list with several elements:


Albluca/ElPiGraph.R documentation built on June 10, 2018, 5:22 p.m.