Learn R Programming

animint2 (version 2025.1.28)

train_position: Train position scales with data

Description

If panel-specific scales are not already present, will clone from the scales provided in the parameter

Usage

train_position(panel, data, x_scale, y_scale)

Arguments

panel

the panel object to train

data

a list of data frames (one for each layer)

x_scale

x scale for the plot

y_scale

y scale for the plot