transf.to.equi {BMAmevt}R Documentation

Linear coordinate transformations

Description

Switching coordinates system between equilateral and right-angled representation of the two-dimensional simplex.

Usage

transf.to.equi(vect)

transf.to.rect(vect)

Arguments

vect

a bi-variate vector, giving the first two coordinates of the angular point to be transformed.

Details

If transf.to.rect, is called, vect must belongs to the triangle [(0,0), (√(2), 0), (√(2)/2,√(3/2) ) ] and the result lies in ([(0,0), (1,0), (0,1)]. transf.to.equi is the reciprocal.

Value

The vector obtained by linear transformation.

Author(s)

Anne Sabourin

Examples

## Not run:  transf.to.equi(c(sqrt(2)/2, sqrt(3/8) ) )

[Package BMAmevt version 1.0.4 Index]