rotate_to_equilibrium: Rotate circle or star graph layout so that it 'stands' on two...

View source: R/rotate.R

rotate_to_equilibriumR Documentation

Rotate circle or star graph layout so that it 'stands' on two bottom nodes.

Description

Rotate circle or star graph layout so that it 'stands' on two bottom nodes.

Usage

rotate_to_equilibrium(xy_mat)

Arguments

xy_mat

A two column matrix with x and y coordinates containing the graph layout.


egor documentation built on May 29, 2024, 12:10 p.m.