onestep: Check membership of one-step neighbors

View source: R/mcmc-analysis.R

onestepR Documentation

Check membership of one-step neighbors

Description

Check membership of one-step neighbors

Usage

onestep(
  subsample,
  reference,
  h,
  Y,
  X,
  D,
  Phi,
  tau,
  MEMBERSHIP_FCN = foc_membership_v3,
  ...
)

Arguments

subsample

An n-long vector with m ones

reference

An n-long vector from which we measure the distance to the one-step neighbors

h

A vector of indices that are the active basis

Y, X, D, Phi

data

tau

Quantile

MEMBERSHIP_FCN

function for checking membership

...

arguments for STATUS

Value

A named list with two elements

  1. distance: vector with distances between neighbors and reference

  2. status: vector indicating whether neighbor is inside polytope


omkarakatta/ivqr documentation built on Aug. 20, 2022, 11:04 p.m.