R/is.specific.R

Defines functions is.specific

Documented in is.specific

is.specific <-
function(x)
#  is.specific()  -  test if x is name of a class-specific component
{
   colons <- which(strsplit(x,"")[[1]] == ":")
  if(length(colons) == 0) {  # nonspecific case
    specific <- F
  }
  else {
    specific <- T
  }
  return(specific)
}

Try the dmm package in your browser

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

dmm documentation built on July 26, 2023, 5:23 p.m.