Neighbors: Neighbors object.

Description Usage Arguments Value

View source: R/Neighbors.R

Description

Stores the input data and parameters for calling blockedSN.

Usage

1
Neighbors(dat, ID, keyVars, keyWt = NULL)

Arguments

dat

Input data matrix used in the SNIP algorithm.

ID

Character or numeric value. Identifying column in dat. This is the ID variable for which Neighbors will reference.

keyVars

Character or numeric vector. Which variables to include when generating sort keys?

keyWt

Optional vector of weights that determine the probability of selecting each variable when generating the sort key

Value

An object of class Neighbors.


bayesmendel/snipR documentation built on Jan. 25, 2022, 12:33 a.m.