Learn R Programming

cograph (version 1.5.2)

rescale_layout: Rescale Layout to -1 to 1 Range

Description

Rescale Layout to -1 to 1 Range

Usage

rescale_layout(layout, mar = 0.1)

Value

Rescaled layout.

Arguments

layout

Matrix or data frame with x, y columns.

mar

Margin to leave (as proportion of range).