R/vecIsLowUniq.r

Defines functions vecIsLowUniq

########## R-function: vecIsLowUniq ##########

# Determine whether or not a the number of unique
# values in a vector is below a threshold.

# Last changed: 12 JUL 2021

vecIsLowUniq <- function(x,threshold)
   return(length(unique(x))<threshold)

########## End of vecIsLowUniq ############

Try the gamselBayes package in your browser

Any scripts or data that you put into this service are public.

gamselBayes documentation built on June 8, 2025, 10:21 a.m.