get_interrupt: Extract the end point of the interpolation and the target...

View source: R/get.R

get_interruptR Documentation

Extract the end point of the interpolation and the target point in the iteration when an interruption happens

Description

The optimiser can find better basis on the interpolation path, an interruption is implemented to stop further interpolation from the highest point to the target point. This discrepancy is highlighted in the PCA plot. You should not use geodesic search on this function.

Usage

get_interrupt(dt, group = NULL, precision = 0.001)

Arguments

dt

a data object collected by the projection pursuit guided tour optimisation in the tourr package

group

the variable to label different runs of the optimiser(s)

precision

numeric; if the index value of the last interpolating point and the anchor point differ by precision, an interruption is registered

Value

a tibble object containing the target and anchor bases for the iteration when an interruption happens

See Also

Other get functions: get_anchor(), get_basis_matrix(), get_best(), get_dir_search(), get_interp_last(), get_interp(), get_search_count(), get_search(), get_space_param(), get_start(), get_theo()

Examples

holes_1d_better %>% get_interrupt()
holes_1d_geo %>% get_interrupt()

ferrn documentation built on Aug. 6, 2022, 5:08 p.m.