Learn R Programming

rENA (version 0.3.0)

scale.ENAplot: Scales the points in an ENA set.

Description

This function adjusts the scale of the points in the ENA set to match the range of the network.

Usage

# S3 method for ENAplot
scale(x, center = NULL, scale = NULL)

Value

The modified ENAplot object with scaled points.

Arguments

x

An ENAplot object containing the set to scale.

center

Unused parameter, included for compatibility.

scale

A numeric value specifying the scaling factor. If `NULL`, the function will determine the scale based on the data.