A function for getting the kList slot in a RAIDSparam class.

# S4 method for class 'RAIDSparam'
kList(x)

Arguments

x

a RAIDSparam object.

Value

a vector of positive integer representing the values tested for the K parameter. The K parameter represents the number of neighbors used in the K-nearest neighbor analysis.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


## Create a RAIDSparam object
paramDemo <- RAIDSparam()

## Extract the kList slot for the object
kList(paramDemo)
#>  [1]  2  3  4  5  6  7  8  9 10 11 12 13 14 15