iterative_replacement: iterative replacement

Description Usage Arguments Value

View source: R/calc_3d_dist.R

Description

Iteratively replaces with nas until the end when replaced by template. Reduced by integer until below 5, when it is .5 This function is experimental.

Usage

1
2
3
4
5
6
7
iterative_replacement(
  template,
  aligned_data,
  original_data,
  npoints_in_cap,
  max_threshold
)

Arguments

template

the template dataset

aligned_data

the data after alignment

original_data

the original dataset

npoints_n_cap

the number of points in the cap.

Value

Data aligned to the template in an iterative fashion


samhforbes/digitizeR documentation built on Dec. 29, 2021, 7:17 p.m.