R/RAIDSparam_class.R
kList-RAIDSparam-method.RdA function for getting the kList slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
kList(x)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.
## 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