update_design_total: Merge close points of a design

View source: R/utils.R

update_design_totalR Documentation

Merge close points of a design

Description

Takes a design and merge together all points that are closer between them than a certain threshold delta.

Usage

update_design_total(design, delta)

Arguments

design

The design to update. It's a dataframe with two columns:

  • Point contains the support points of the design.

  • Weight contains the corresponding weights of the Points.

delta

Threshold which defines how close two points have to be to any of the existing ones in order to merge with them.

Value

The updated design.


Kezrael/optedr documentation built on Oct. 12, 2024, 8:40 p.m.