| buildKnnFromPlpData | R Documentation | 
Build a K-nearest neighbor (KNN) classifier from a plpData object
buildKnnFromPlpData(
  plpData,
  population,
  indexFolder,
  overwrite = TRUE,
  cohortId = NULL,
  outcomeId = NULL
)
plpData | 
 An object of type   | 
population | 
 The population.  | 
indexFolder | 
 Path to a local folder where the KNN classifier index can be stored.  | 
overwrite | 
 Automatically overwrite if an index already exists?  | 
cohortId | 
 The ID of the specific cohort for which to fit a model.  | 
outcomeId | 
 The ID of the specific outcome for which to fit a model.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.