Learn R Programming

resemble (version 2.2.3)

get_neighbor_info: A function to get the neighbor information

Description

This fucntion gathers information of all neighborhoods of the Xu observations found in Xr. This information is equired during local regressions.

Usage

get_neighbor_info(
  Xr,
  Xu,
  diss_method,
  Yr = NULL,
  k = NULL,
  k_diss = NULL,
  k_range = NULL,
  spike = NULL,
  pc_selection,
  return_dissimilarity,
  center,
  scale,
  gh,
  diss_usage,
  allow_parallel = FALSE,
  ...
)

Arguments

Details

For local pca and pls distances, the local dissimilarity matrices are not computed as it is cheaer to compute them during the local regressions. Instead the global distances (required for later local dissimilarity matrix computation are output)