Learn R Programming

egor (version 1.24.2)

rotate_to_equilibrium: 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.