rect2Dmap: Map Geometry

Description Usage Arguments Value Author(s) Examples

View source: R/rect2Dmap.R

Description

The function that creates two dimensional maps geometry with rectangular grid. contains two argument which are number of rows and number of columns.

Usage

1
rect2Dmap(rows, cols)

Arguments

rows

number of rows of Map Geometry

cols

number of columns of Map Geometry

Value

A list that describe the feature of map geometry such as:

Internal coordinates:

is the set of coordinates for each node in the map defined coordinates

Map Links

is the set of map edges. Each edge is the fragment of straight line which connect the nearest nodes

Map Ribs

is set of three adjacent nodes which belonged to one straight line in the internal coordinates. For triangular two dimension map there are three directions of ribs

Map Faces

is set of three nodes. We use this variable for 2d maps to project data points to the faces of map.

Map Pcs

is principal components of map that is null. calculated at initialization step with function (preprocessDataInit)

Mapped coordinates

is the set of coordinates of nodes in the data space that is null. These coordinates are initially defined by initializing procedure (init) and then adjusted by the map fitting. Procedure of map fitting is external with respect to the map and can be provided by SOM or EM fitting process.

Map dispersion

is dispersion measure for PQSQ approach. To calculate disp we have to calculate distance from each data point to the nearest initial node and then take maximum of these distances. Firstly it is null and then it is calculated at

Author(s)

Zahra Rezaei

Examples

1
2
3
4
5
6
7
8
9
# Define dimension of map
rows <- 20
cols <- 20
map <- rect2Dmap(rows,cols)


map.internal
map$map.ribs
map$map.faces

ZahraSajjad/ElasticMap documentation built on July 26, 2020, 12:38 a.m.