R/isColour.r

Defines functions isColour

########## R-function: isColour ##########

# Determine whether or not an object is a 
# an R colour character string.

# Last changed: 09 JUL 2021

isColour <- function(x)
   return(length(setdiff(x,colors()))==0)

########## End of isColour ############

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.