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.


optedr documentation built on Nov. 18, 2022, 5:12 p.m.