make.split.map: Map the split outcome

View source: R/make.split.map.R

make.split.mapR Documentation

Map the split outcome

Description

make.split.map This function color-codes cells based on the regression tree outcome

Usage

make.split.map(
  LF,
  Nsplit,
  save_dir,
  plot_name = "Split_map",
  plot_format = "png",
  width = length(unique(LF$lon))/2,
  height = length(unique(LF$lat))/2,
  text = FALSE,
  s = 10
)

Arguments

LF

The length frequency data frame input; must include four columns: lat, lon, year, and quarter

Nsplit

The number of splits

save_dir

The directory where results will be saved

plot_name

The name of the plot to be saved

plot_format

The format (e.g., png and pdf) of the plot to be saved

width

The width of the plot to be saved

height

The height of the plot to be saved

s

The size of squares


HaikunXu/RegressionTree documentation built on Jan. 25, 2025, 12:08 a.m.