R/canbeNumeric.R

Defines functions canbeNumeric

Documented in canbeNumeric

canbeNumeric <- function(x){
  ((mode(x) == 'numeric') & 
    (!('levels' %in% names(attributes(x)))) )
}

Try the Ecfun package in your browser

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

Ecfun documentation built on Oct. 10, 2022, 1:06 a.m.